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 1074294 commit 2cecaf3Copy full SHA for 2cecaf3
src/pages/chat/[id].vue
@@ -95,7 +95,7 @@ onMounted(() => {
95
<UChatMessages
96
:messages="chat.messages"
97
:status="chat.status"
98
- :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: [] }"
99
class="lg:pt-(--ui-header-height) pb-4 sm:pb-6"
100
:spacing-offset="160"
101
>
0 commit comments