google/adk-go
Vedi su GitHubIncorrect comment for OutputSchema field in LLMAgentConfig
Open
#756 aperta il 27 apr 2026
documentationgood first issue
Metriche repository
- Star
- (8108 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
The comment for OutputSchema in agent/llmagent/llmagent.go says:
// NOTE: when this is set, agent can only reply and cannot use any tools,
// such as function tools, RAGs, agent transfer, etc.
OutputSchema *genai.Schema
This is inaccurate. OutputSchema can be used together with tools when needed, the framework
automatically handles this via the set_model_response tool workaround (see
internal/llminternal/outputschema_processor.go).
The comment should be updated to reflect the actual behavior.
File: agent/llmagent/llmagent.go:257