Skip to content

Commit 81a8ee4

Browse files
committed
fix(chat): improve call methods handler
1 parent 7f3e526 commit 81a8ee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/chat/[id].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ onMounted(() => {
138138
<UChatPromptSubmit
139139
:status="chat.status"
140140
color="neutral"
141-
@stop="chat.stop"
142-
@reload="chat.regenerate"
141+
@stop="chat.stop()"
142+
@reload="chat.regenerate()"
143143
/>
144144
</template>
145145
</UChatPrompt>

0 commit comments

Comments
 (0)