v0.16.11: Plan Mode 最小必要性清理 — 删除进度注入和死代码链
删除项: - Plan Mode 每轮进度注入代码(formatPlanStatus() 主动注入到 user 消息) AI 改为从 plan_track mark_done/status 工具返回值自行推断进度 - _lastPlanStatus 死代码链(agent-engine.ts 2 处保存 + input-area.ts 2 处清空) 保存后从未被读取使用,纯死代码 - formatPlanStatus import(已无调用点) - _lastPlanStatus 和 _planLastInjectedDone StateKey 声明 简化项: - "计划已批准"消息移除 (web_search、write_file 等) 工具名列举,让 AI 自行判断 修正项: - L2431 注释从"AI 可通过 formatPlanStatus() 看到剩余步骤" 改为"AI 通过 plan_track mark_done/status 的工具返回值获知进度" 总计 8 文件变更
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ export function createMenu(): void {
|
||||
dialog.showMessageBox(mainWindow!, {
|
||||
type: 'info',
|
||||
title: '关于 Metona Ollama',
|
||||
message: 'Metona Ollama Desktop v0.16.10',
|
||||
message: 'Metona Ollama Desktop v0.16.11',
|
||||
detail: 'TypeScript + Electron Ollama AI 聊天客户端\n\nhttps://gitee.com/thzxx/metona-ollama',
|
||||
icon: getIconPath()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user