mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-04 01:44:44 -06:00
Merge pull request #292431 from microsoft/copilot/remove-subagent-fallback
Remove hardcoded subagent name fallback from request construction
This commit is contained in:
commit
bb8a476f91
@ -241,7 +241,7 @@ export class RunSubagentTool extends Disposable implements IToolImpl {
|
||||
variables: { variables: variableSet.asArray() },
|
||||
location: ChatAgentLocation.Chat,
|
||||
subAgentInvocationId: invocation.callId,
|
||||
subAgentName: mode?.name.get() ?? 'subagent',
|
||||
subAgentName: mode?.name.get(),
|
||||
userSelectedModelId: modeModelId,
|
||||
userSelectedTools: modeTools,
|
||||
modeInstructions,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user