Skip to content

Commit 782e1d1

Browse files
committed
fix: remove JS import accidentally injected into Python code example
The automated crypto.randomUUID replacement incorrectly added a generateId import into a Python code example template literal, producing invalid Python in the deploy modal's A2A code snippet. AI Disclosure: This commit was authored by Claude Opus 4.6 (Anthropic), operated by Maxwell Calkin (@MaxwellCalkin).
1 parent af92b53 commit 782e1d1

File tree

1 file changed

+0
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/a2a

1 file changed

+0
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/a2a/a2a.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ export function A2aDeploy({
554554
return requiresAuth
555555
? `import os
556556
import requests
557-
import { generateId } from '@/lib/core/utils/id'
558557
559558
response = requests.post(
560559
"${endpoint}",

0 commit comments

Comments
 (0)