-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Enable markdown formatting for voice command dialog #21487
Conversation
WalkthroughWalkthroughThe update to the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Dialog
participant MarkdownComponent
User->>Dialog: Send voice command
Dialog->>MarkdownComponent: Render message with Markdown
MarkdownComponent-->>Dialog: Return formatted message
Dialog-->>User: Display formatted message
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 as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
The assistant doesnt know atm how the response is going to be used, it can be spoken by a voice assistant, or shown in the native iOS/Android/Watch apps or in this frontend dialog. By adding support for markdown just here, we might make the problem bigger as it is not supported in all the other places. |
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.
This will require more planning/thought:
Assist Pipeline should know if it is going to output to a display or voice, so prompts can be adjusted accordingly (as now we would want markdown for display!)
Also, Android phone/watch + iOS phone/watch have to be updated to support markdown (which will be hard)
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
From my perspective, those are two separate issues:
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Proposed change
Enable markdown formatting for voice command dialog, because LLM may occasionally output markdown-formatted text even when explicitly told to produce plain text only. This change would allow to view such text as was intended.
Type of change
Example configuration
N/A
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed:
Summary by CodeRabbit