feat:新增对话结束后添加结束语句
This commit is contained in:
@ -393,6 +393,11 @@ async function handleUserMessageWithBackend(
|
|||||||
isComplete: true,
|
isComplete: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 发送任务完成消息
|
||||||
|
panel.webview.postMessage({
|
||||||
|
command: "taskComplete",
|
||||||
|
});
|
||||||
|
|
||||||
// 发送系统通知 - AI 响应完成
|
// 发送系统通知 - AI 响应完成
|
||||||
const notificationService = NotificationService.getInstance();
|
const notificationService = NotificationService.getInstance();
|
||||||
notificationService.success(
|
notificationService.success(
|
||||||
|
|||||||
@ -770,6 +770,11 @@ export function getWebviewContent(
|
|||||||
hideLoadingIndicator();
|
hideLoadingIndicator();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'taskComplete':
|
||||||
|
// 显示任务完成提示
|
||||||
|
addMessage('✅ 任务已完成', 'bot');
|
||||||
|
break;
|
||||||
|
|
||||||
case 'workspaceStatus':
|
case 'workspaceStatus':
|
||||||
// 更新工作区状态
|
// 更新工作区状态
|
||||||
if (typeof hasWorkspace !== 'undefined') {
|
if (typeof hasWorkspace !== 'undefined') {
|
||||||
|
|||||||
Reference in New Issue
Block a user