fix assumptions with chat.exitAfterDelegation and chats in the sidebar (#281039)

This commit is contained in:
Josh Spicer
2025-12-03 11:44:45 -08:00
committed by GitHub
parent 4a04ab66fc
commit 683ba6378f
3 changed files with 17 additions and 8 deletions

View File

@@ -284,7 +284,7 @@ class CreateRemoteAgentJobAction {
});
if (requestData) {
await widget.handleDelegationExitIfNeeded(requestData.agent);
await widget.handleDelegationExitIfNeeded(defaultAgent, requestData.agent);
}
} catch (e) {
console.error('Error creating remote coding agent job', e);