google/adk-go
GitHub で見るIncorrect comment for OutputSchema field in LLMAgentConfig
Open
#756 opened on 2026年4月27日
documentationgood first issue
Repository metrics
- Stars
- (8,108 stars)
- PR merge metrics
- (PR metrics pending)
説明
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