This commit is contained in:
Siddharth Ganesan
2026-01-24 12:23:47 -08:00
parent 6ca36dd96e
commit 5d28c357b9

View File

@@ -1260,8 +1260,6 @@ async function handleRun(
const instance = getClientTool(toolCall.id)
if (!instance && isIntegrationTool(toolCall.name)) {
// Note: Don't set state to 'executing' here - executeIntegrationTool handles it internally
// and has a guard that skips if already executing (which would cause the tool to get stuck)
onStateChange?.('executing')
try {
await useCopilotStore.getState().executeIntegrationTool(toolCall.id)