We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0d518 commit 7f22b31Copy full SHA for 7f22b31
src/routes/chat/[agentId]/[conversationId]/chat-box.svelte
@@ -1341,7 +1341,7 @@
1341
1342
let text = message?.rich_content?.message?.text || message?.text || '';
1343
if (message?.rich_content?.message?.rich_type === RichType.ProgramCode) {
1344
- text = message?.rich_content?.message?.code_script;
+ text = message?.rich_content?.message?.code_script || text;
1345
}
1346
1347
navigator.clipboard.writeText(text).then(() => {
0 commit comments