fix: Plan 模式执行时传递服务等级参数
- planCard.ts: 计划操作时传递 model 参数 - ICHelperPanel.ts: 传递服务等级到 setPendingPlanExecution - messageHandler.ts: 保存并传递服务等级,确保 Plan->Agent 切换时使用相同模型
This commit is contained in:
@ -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()
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user