Documentation
¶
Index ¶
Constants ¶
View Source
const ( ToolNameChangeModel = "change_model" ToolNameRevertModel = "revert_model" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChangeModelArgs ¶
type ChangeModelArgs struct {
Model string `json:"model" jsonschema:"The model to switch to. Must be one of the available models."`
}
ChangeModelArgs are the arguments for the change_model tool.
type ToolSet ¶ added in v1.60.0
type ToolSet struct {
// contains filtered or unexported fields
}
ToolSet provides tools for dynamically switching the agent's model mid-conversation.
func (*ToolSet) AllowedModels ¶ added in v1.60.0
AllowedModels returns the list of models this tool allows switching to.
func (*ToolSet) Instructions ¶ added in v1.60.0
Instructions returns guidance for the LLM on when and how to use the model picker tools.
Click to show internal directories.
Click to hide internal directories.