Skip to content

Commit 17330e8

Browse files
committed
fix(chat): improve call methods handler
1 parent cc67553 commit 17330e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/chat/[id].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ onMounted(() => {
144144
<UChatPromptSubmit
145145
:status="chat.status"
146146
color="neutral"
147-
@stop="chat.stop"
148-
@reload="chat.regenerate"
147+
@stop="chat.stop()"
148+
@reload="chat.regenerate()"
149149
/>
150150
</template>
151151
</UChatPrompt>

0 commit comments

Comments
 (0)