@@ -125,8 +125,6 @@ import throttle from '/@/utils/throttle'
125
125
import Tab from ' ./components/Tab.vue'
126
126
import WorkSpace from ' ./components/WorkSpace.vue'
127
127
128
- const { proxy : global_instance } = getCurrentInstance () as any
129
-
130
128
const route = useRoute ()
131
129
const router = useRouter ()
132
130
const taskStore = useTaskStore ()
@@ -179,7 +177,7 @@ let pageMode = computed(() => {
179
177
}
180
178
}
181
179
return route .query .mode as string || ' ' ;
182
- }); // Redirected from other page, playback, review, or start a new conversation
180
+ }); // 从其他页面跳转进来,是回放模式 还是浏览模式 还是开启一个新对话
183
181
184
182
185
183
if (pageMode .value === " recorder" ) {
@@ -549,7 +547,7 @@ const newTalkConnection = () => {
549
547
}
550
548
}
551
549
552
- // Input answer
550
+ // 输入回答
553
551
const sendMessage = async (val : string ) => {
554
552
if (! val ) return
555
553
chatMsgInfoStore .setCurrentInput (val )
@@ -966,7 +964,7 @@ const wormText = (params: IChatRequest, {tasks, costTime, msgId }: {tasks: any;
966
964
costTimeMilli: costTime ,
967
965
subTasks: [],
968
966
isLatest: true
969
- // Is the current inner the latest message
967
+ // 当前的inenr是不是最新的那条信息
970
968
}
971
969
chatMsgInfo .value .forEach ((item ) => {
972
970
item .isLatest = false
@@ -986,7 +984,7 @@ const wormText = (params: IChatRequest, {tasks, costTime, msgId }: {tasks: any;
986
984
}
987
985
988
986
989
- // Regenerate the message
987
+ // 执行重新生成操作
990
988
const regenerate = () => {
991
989
const input = currentInput .value
992
990
sendMessage (input )
0 commit comments