diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx index cb536c179..b869ee911 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx @@ -1260,7 +1260,8 @@ async function handleRun( const instance = getClientTool(toolCall.id) if (!instance && isIntegrationTool(toolCall.name)) { - setToolCallState(toolCall, 'executing') + // 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) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx index e90fbee6b..c011207e8 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx @@ -496,7 +496,7 @@ export function DeployModal({ )} {apiDeployWarnings.length > 0 && ( -