Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct {
Model string `yaml:"model,omitempty" json:"model,omitempty" toml:"model,omitempty"`
Key string `yaml:"key,omitempty" json:"key,omitempty" toml:"key,omitempty"`
URL string `yaml:"url,omitempty" json:"url,omitempty" toml:"url,omitempty"`
ReasonEffort string `yaml:"reason,omitempty" json:"reason,omitempty" toml:"reason,omitempty"`
Temperature *float64 `yaml:"temperature,omitempty" json:"temperature,omitempty" toml:"temperature,omitempty"`
SystemPrompt string `yaml:"system,omitempty" json:"system,omitempty" toml:"system,omitempty"`
UserTemplate string `yaml:"user,omitempty" json:"user,omitempty" toml:"user,omitempty"`
MCPs []string `yaml:"mcps,omitempty" json:"mcps,omitempty" toml:"mcps,omitempty"`
}
Tool represents the configuration for a language model tool, when specified, will override global settings.
func (*Tool) UserPrompt ¶
Click to show internal directories.
Click to hide internal directories.