We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
TypeError: code.replaceAll is not a function
Bug Summary:
I am not sure what made it happen. It seems that the model returned a code block. And an error showed up in the console.
all latest firefox
Confirmation:
Browser Console Logs:
Uncaught (in promise) TypeError: code.replaceAll is not a function Please report this to https://github.com/markedjs/marked. codespan ResponseMessage.svelte:83 parseInline Parser.ts:164 text Renderer.ts:171 parse Parser.ts:89 listitem Renderer.ts:77 list Renderer.ts:48 parse Parser.ts:76 parse Parser.ts:24 parseMarkdown_fn Instance.ts:502 marked marked.ts:11 update ResponseMessage.svelte:506 update ResponseMessage.svelte:1637 update ResponseMessage.svelte:1247 update ResponseMessage.svelte:930 update ResponseMessage.svelte:4490 update ResponseMessage.svelte:4636 update scheduler.js:119 flush scheduler.js:79 promise callback*schedule_update scheduler.js:20 make_dirty Component.js:81 ctx Component.js:139 sendPromptOllama Chat.svelte:1528 sendPrompt Chat.svelte:521 sendPrompt Chat.svelte:466 submitPrompt Chat.svelte:386 keypress_handler MessageInput.svelte:720 listen dom.js:361 listen_dev dev.js:133 mount MessageInput.svelte:777 mount MessageInput.svelte:2895 m svelte-hooks.js:291 mount_component Component.js:44 mount Chat.svelte:429 mount Chat.svelte:849 m svelte-hooks.js:291 mount_component Component.js:44 mount page.svelte:48 m svelte-hooks.js:291 mount_component Component.js:44 update root.svelte:493 update root.svelte:769 update_slot_base utils.js:203 update layout.svelte:180 update layout.svelte:593 update scheduler.js:119 flush scheduler.js:79 promise callback*schedule_update scheduler.js:20 make_dirty Component.js:81 ctx Component.js:139 $$set root.svelte:1250 get proxy.js:83 $set Component.js:507 key proxy.js:46 navigate client.js:1399 ResponseMessage.svelte:83:23
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Description
Bug Summary:
I am not sure what made it happen.
It seems that the model returned a code block.
And an error showed up in the console.
Environment
all latest
firefox
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
The text was updated successfully, but these errors were encountered: