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
Some LaTeX markdown returned by OpenAI models is not getting rendered as LaTeX due to the use of replace calls that don't catch repeating symbols in escapeLatexDelimeters function. To fix, use replaceAll calls instead of replace
Description
Some LaTeX markdown returned by OpenAI models is not getting rendered as LaTeX due to the use of
replace
calls that don't catch repeating symbols inescapeLatexDelimeters
function. To fix, usereplaceAll
calls instead ofreplace
jupyter-ai/packages/jupyter-ai/src/components/rendermime-markdown.tsx
Lines 18 to 24 in e3cd019
Reproduce
Get OpenAI models to return LaTeX.
The text was updated successfully, but these errors were encountered: