Documentation
¶
Overview ¶
Package models is the config-time catalog of model-provider kinds.
Each provider kind (`openai`, `anthropic`, `google`, `bedrock`, `vertex`, `borrowed`) lives in its own file. New picks the right constructor by config.Provider; in-tree providers return an adk model.LLM the runtime hands to llmagent.New.
This package owns the full client/wire: providers construct their own SDK clients and implement model.LLM directly. The runtime stays out of provider details; it just calls New and wires the returned LLM into the agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithSession ¶
WithSession attaches an MCP server session to ctx so the borrowed provider can route GenerateContent back to the connected client. Set by the mcp-stdio transport.