add new session button
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user