diff --git a/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte b/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte index 964210834..d3bd28631 100644 --- a/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte +++ b/src/lib/components/chat/ContentRenderer/FloatingButtons.svelte @@ -56,7 +56,10 @@ role: 'user', content: prompt } - ], + ].map((message) => ({ + role: message.role, + content: message.content + })), stream: true // Enable streaming }); @@ -129,7 +132,10 @@ role: 'user', content: prompt } - ], + ].map((message) => ({ + role: message.role, + content: message.content + })), stream: true // Enable streaming });