-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix:cq_speak #321
fix:cq_speak #321
Conversation
WalkthroughThe pull request modifies the Changes
Possibly related PRs
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #321 +/- ##
==========================================
- Coverage 49.27% 49.23% -0.05%
==========================================
Files 37 37
Lines 4426 4434 +8
==========================================
+ Hits 2181 2183 +2
- Misses 2245 2251 +6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
ovos_workshop/skills/ovos.py (2)
1064-1064
: Consider handling aNone
or blankanswer
.If the
answer
value might beNone
or empty, users will likely experience silence without feedback. For better user clarity, consider adding a quick check for empty answers before callingself.speak(answer)
:+ if answer: + self.speak(answer) + else: + LOG.debug("No answer provided; skipping speak()")
1066-1068
: Revisit user experience when there is nocommon query callback
.Currently, the flow ends immediately if
_cq_callback
is not set, which is fine functionally. However, if a user expects further action (e.g., skill chaining or a follow-up prompt), consider providing a fallback or user-friendly message for clarity.
Summary by CodeRabbit