You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ChatMessageMarkdown.tsx component to render Math heavy equations the streaming chat will be redirected to ErrorFallback.tsx when encountering $${some_random_math_latex}$$ that is wrapped in double $$ sign.
To Reproduce
Steps to reproduce the behavior:
Create a new chatbot with prompt asking it to wrap the outputs with $${user_input}$$ or $$${user_input}$$$
Prompt:
Always return any messages I type wrapped in $$$$${user_input}$$$$$, $${user_input}$$, $$${user_input}$$$
Enter a message as a user with the new chatbot
User input:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
$${user_input}$$
or$$${user_input}$$$
Prompt:
User input:
Screenshots
Here is the screenshot of my hacky fix I just replace the text in the ChatMessageMarkdown.tsx for now
Output from copy button:
Additional context
I'm not sure if this is the best way to work around the issue, hence I'm filling this issue.
The text was updated successfully, but these errors were encountered: