Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions agent/llmagent/llmagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,10 @@ type Config struct {
InputSchema *genai.Schema
// The output schema when agent replies.
//
// NOTE: when this is set, agent can only reply and cannot use any tools,
// such as function tools, RAGs, agent transfer, etc.
// When OutputSchema is set, the framework transparently injects a
// set_model_response tool so the model can still invoke other tools
// (function tools, RAG, agent transfer, etc.) while producing structured
// output. See internal/llminternal/outputschema_processor.go for details.
OutputSchema *genai.Schema

// Callbacks are executed in the order they are provided.
Expand Down
Loading