add new session button

This commit is contained in:
Timi
2026-09-22 21:27:33 +08:00
parent 45f77d3168
commit b54c07fe49
6 changed files with 100 additions and 54 deletions
+6
View File
@@ -8,6 +8,7 @@
@send="onSend"
@stop="onStop"
@retry="onRetry"
@new-conversation="onNewConversation"
/>
<div class="bar">
@@ -53,6 +54,11 @@ function onRetry() {
error.value = "";
push("retry()");
}
function onNewConversation() {
error.value = "";
push("new-conversation()");
}
</script>
<style lang="less" scoped>