-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b0d6663
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.
@calycekr this should hopefully fix things, sorry there's a lot of edge cases with markdown formatting, code blocks and also our own html injection for websearch sources 😅 will be adding tests to cover this in the future to avoid regressions
b0d6663
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.
@nsarrazin I agree. Markdown processing is too complicated to properly adapt to the different cases that LLM can generate. I've been trying to think of the best way to handle it, but I've given up. I think it's something we'll need to work on as new features are added in the future.