Versions in this module Expand all Collapse all v1 v1.9.21 Nov 21, 2025 Changes in this version + const Version + type APIToolConfig struct + Args map[string]any + Endpoint string + Headers map[string]string + Instruction string + Method string + Name string + Required []string + type AgentConfig struct + AddDate bool + AddEnvironmentInfo bool + AddPromptFiles []string + CodeModeTools bool + Commands types.Commands + Description string + Handoffs []string + Instruction string + MaxIterations int + Model string + NumHistoryItems int + RAG []string + StructuredOutput *StructuredOutput + SubAgents []string + Toolsets []Toolset + WelcomeMessage string + type Config struct + Agents map[string]AgentConfig + Metadata Metadata + Models map[string]ModelConfig + RAG map[string]RAGConfig + Version string + func UpgradeFrom(old v2.Config) (Config, error) + func (t *Config) UnmarshalYAML(unmarshal func(any) error) error + type Metadata struct + Author string + License string + Readme string + type ModelConfig struct + BaseURL string + FrequencyPenalty *float64 + MaxTokens int + Model string + ParallelToolCalls *bool + PresencePenalty *float64 + Provider string + ProviderOpts map[string]any + Temperature *float64 + ThinkingBudget *ThinkingBudget + TokenKey string + TopP *float64 + TrackUsage *bool + type PostEditConfig struct + Cmd string + Path string + type RAGChunkingConfig struct + Overlap int + RespectWordBoundaries bool + Size int + type RAGConfig struct + Description string + Docs []string + Results RAGResultsConfig + Strategies []RAGStrategyConfig + func (c *RAGConfig) UnmarshalYAML(unmarshal func(any) error) error + type RAGDatabaseConfig struct + func (d *RAGDatabaseConfig) AsString() (string, error) + func (d *RAGDatabaseConfig) IsEmpty() bool + func (d *RAGDatabaseConfig) UnmarshalYAML(unmarshal func(any) error) error + type RAGFusionConfig struct + K int + Strategy string + Weights map[string]float64 + type RAGResultsConfig struct + Deduplicate bool + Fusion *RAGFusionConfig + IncludeScore bool + Limit int + ReturnFullContent bool + func (r *RAGResultsConfig) UnmarshalYAML(unmarshal func(any) error) error + type RAGStrategyConfig struct + Chunking RAGChunkingConfig + Database RAGDatabaseConfig + Docs []string + Limit int + Params map[string]any + Type string + func (s *RAGStrategyConfig) UnmarshalYAML(unmarshal func(any) error) error + type Remote struct + Headers map[string]string + TransportType string + URL string + type ScriptShellToolConfig struct + Args map[string]any + Cmd string + Description string + Env map[string]string + Required []string + WorkingDir string + type StructuredOutput struct + Description string + Name string + Schema map[string]any + Strict bool + type ThinkingBudget struct + Effort string + Tokens int + func (t *ThinkingBudget) UnmarshalYAML(unmarshal func(any) error) error + type Toolset struct + APIConfig APIToolConfig + Args []string + Command string + Config any + Env map[string]string + IgnoreVCS *bool + Instruction string + Path string + PostEdit []PostEditConfig + Ref string + Remote Remote + Shared bool + Shell map[string]ScriptShellToolConfig + Timeout int + Tools []string + Toon string + Type string + func (t *Toolset) UnmarshalYAML(unmarshal func(any) error) error