Skip to content

Commit 3f68a22

Browse files
committed
remove default tags from A2A
1 parent 2859f90 commit 3f68a22

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export function A2aDeploy({
201201
const [description, setDescription] = useState('')
202202
const [authScheme, setAuthScheme] = useState<AuthScheme>('apiKey')
203203
const [pushNotificationsEnabled, setPushNotificationsEnabled] = useState(false)
204-
const [skillTags, setSkillTags] = useState<string[]>(['workflow', 'automation'])
204+
const [skillTags, setSkillTags] = useState<string[]>([])
205205
const [language, setLanguage] = useState<CodeLanguage>('curl')
206206
const [useStreamingExample, setUseStreamingExample] = useState(false)
207207
const [copied, setCopied] = useState(false)
@@ -220,15 +220,15 @@ export function A2aDeploy({
220220
}
221221
const skills = existingAgent.skills as Array<{ tags?: string[] }> | undefined
222222
const savedTags = skills?.[0]?.tags
223-
setSkillTags(savedTags?.length ? savedTags : ['workflow', 'automation'])
223+
setSkillTags(savedTags?.length ? savedTags : [])
224224
} else {
225225
setName(workflowName)
226226
setDescription(
227227
isDefaultDescription(workflowDescription, workflowName) ? '' : workflowDescription || ''
228228
)
229229
setAuthScheme('apiKey')
230230
setPushNotificationsEnabled(false)
231-
setSkillTags(['workflow', 'automation'])
231+
setSkillTags([])
232232
}
233233
}, [existingAgent, workflowName, workflowDescription])
234234

@@ -247,7 +247,7 @@ export function A2aDeploy({
247247
const savedDesc = existingAgent.description || ''
248248
const normalizedSavedDesc = isDefaultDescription(savedDesc, workflowName) ? '' : savedDesc
249249
const skills = existingAgent.skills as Array<{ tags?: string[] }> | undefined
250-
const savedTags = skills?.[0]?.tags || ['workflow', 'automation']
250+
const savedTags = skills?.[0]?.tags || []
251251
const tagsChanged =
252252
skillTags.length !== savedTags.length || skillTags.some((t, i) => t !== savedTags[i])
253253
return (

apps/sim/app/workspace/[workspaceId]/w/hooks/use-export-folder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ export function useExportFolder({ folderId, onSuccess }: UseExportFolderProps) {
138138
continue
139139
}
140140

141-
// Remap folderId: if workflow is in root folder, set to null; otherwise keep original
142141
const remappedFolderId =
143142
collectedWorkflow.folderId === folderId ? null : collectedWorkflow.folderId
144143

apps/sim/lib/a2a/agent-card.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function generateAgentCard(agent: AgentData, workflow: WorkflowData): App
6363
id: 'execute',
6464
name: `Execute ${workflow.name}`,
6565
description: workflow.description || `Execute the ${workflow.name} workflow`,
66-
tags: ['workflow', 'automation'],
66+
tags: [],
6767
},
6868
],
6969
defaultInputModes: [...A2A_DEFAULT_INPUT_MODES],
@@ -80,7 +80,7 @@ export function generateSkillsFromWorkflow(
8080
id: 'execute',
8181
name: `Execute ${workflowName}`,
8282
description: workflowDescription || `Execute the ${workflowName} workflow`,
83-
tags: tags?.length ? tags : ['workflow', 'automation'],
83+
tags: tags || [],
8484
}
8585

8686
return [skill]

0 commit comments

Comments
 (0)