From 3bbf7f5d1d86ac89cbb31682bd5235e085b78edc Mon Sep 17 00:00:00 2001 From: Siddharth Ganesan <33737564+Sg312@users.noreply.github.com> Date: Sat, 24 Jan 2026 12:26:21 -0800 Subject: [PATCH] fix(auth): copilot routes (#2977) * Fix copilot auth * Fix * Fix * Fix --- .../panel/components/copilot/components/tool-call/tool-call.tsx | 1 - .../components/deploy/components/deploy-modal/deploy-modal.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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..5d1f37bf9 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,6 @@ async function handleRun( const instance = getClientTool(toolCall.id) if (!instance && isIntegrationTool(toolCall.name)) { - setToolCallState(toolCall, 'executing') 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 && ( -