mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-01 13:15:50 +01:00
b0cdbf862f
runStartHooks() and run() both called executeSubagentStartHook() for subagent requests, causing SubagentStart hooks to fire twice per subagent invocation. The caller (defaultIntentRequestHandler) always calls runStartHooks() before run(), so the call in run() was redundant. Remove the duplicate call from run() since runStartHooks() is the correct place for start hook execution.