Skip to content

Commit c6b671a

Browse files
fix(templates): Remove language field from agent.json card
Remove the non-compliant "language" field from the generated .well-known/agent.json file to align with the official A2A schema specification. The language field is not defined in Google's A2A specification and was causing compliance issues. Resolves: #5 Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>
1 parent 7516b50 commit c6b671a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

internal/templates/minimal.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,7 @@ const cardJSONTemplate = `{
166166
"schema": {{ $tool.Schema | toJson }}
167167
}
168168
{{- end }}
169-
],
170-
"language": {
171-
"go": {
172-
"version": "{{ .ADL.Spec.Language.Go.Version }}",
173-
"module": "{{ .ADL.Spec.Language.Go.Module }}"
174-
}
175-
}
169+
]
176170
}
177171
`
178172

0 commit comments

Comments
 (0)