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 d8c86cd commit 21fe3baCopy full SHA for 21fe3ba
app/pages/chat/[id].vue
@@ -91,7 +91,7 @@ onMounted(() => {
91
<UChatMessages
92
:messages="chat.messages"
93
:status="chat.status"
94
- :assistant="{ actions: [{ label: 'Copy', icon: copied ? 'i-lucide-copy-check' : 'i-lucide-copy', onClick: copy }] }"
+ :assistant="chat.status !== 'streaming' ? { actions: [{ label: 'Copy', icon: copied ? 'i-lucide-copy-check' : 'i-lucide-copy', onClick: copy }] } : { actions: [] }"
95
class="lg:pt-(--ui-header-height) pb-4 sm:pb-6"
96
:spacing-offset="160"
97
>
0 commit comments