fix: Plan 模式执行时传递服务等级参数

- planCard.ts: 计划操作时传递 model 参数
- ICHelperPanel.ts: 传递服务等级到 setPendingPlanExecution
- messageHandler.ts: 保存并传递服务等级,确保 Plan->Agent 切换时使用相同模型
This commit is contained in:
XiaoFeng
2026-01-10 21:15:39 +08:00
parent 4abb979eab
commit 5b225126f1
3 changed files with 24 additions and 12 deletions

View File

@ -646,7 +646,8 @@ export function getPlanCardScript(): string {
vscode.postMessage({
command: 'planAction',
action: actionMap[option] || option,
planTitle: segment.planTitle
planTitle: segment.planTitle,
model: getCurrentModel()
});
});
});
@ -720,7 +721,8 @@ export function getPlanCardScript(): string {
vscode.postMessage({
command: 'planAction',
action: action,
planTitle: segment.planTitle
planTitle: segment.planTitle,
model: getCurrentModel()
});
});
});