Documentation
¶
Index ¶
Constants ¶
View Source
const ( ToolNameChangeModel = "change_model" ToolNameRevertModel = "revert_model" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
Tool provides tools for dynamically switching the agent's model mid-conversation.
func NewModelPickerTool ¶
NewModelPickerTool creates a new Tool with the given list of allowed models.
func (*Tool) AllowedModels ¶
AllowedModels returns the list of models this tool allows switching to.
func (*Tool) Instructions ¶
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.