Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Url string `mapstructure:"url"` Description string `mapstructure:"description"` Model string `mapstructure:"model"` Instructions string `mapstructure:"instructions"` Servers []string `mapstructure:"servers"` IncludeTools []string `mapstructure:"include_tools"` ExcludeTools []string `mapstructure:"exclude_tools"` RequestParams *RequestParams `mapstructure:"request_params"` }
type AgentsConfig ¶
type AgentsConfig struct { Agents map[string]Agent `mapstructure:"agents"` MCP MCP `mapstructure:"mcp"` OpenAI OpenAI `mapstructure:"openai"` Anthropic Anthropic `mapstructure:"anthropic"` Azure Azure `mapstructure:"azure"` Generic Generic `mapstructure:"generic"` Google Google `mapstructure:"google"` DeepSeek DeepSeek `mapstructure:"deepseek"` OpenRouter OpenRouter `mapstructure:"openrouter"` TensorZero TensorZero `mapstructure:"tensorzero"` Logger Logger }
func LoadConfig ¶
func LoadConfig() (*AgentsConfig, error)
type OpenRouter ¶
type RequestParams ¶
type RequestParams struct { UseHistory *bool `mapstructure:"use_history"` ParallelToolCalls *bool `mapstructure:"parallel_tool_calls"` MaxIterations *int `mapstructure:"max_iterations"` MaxTokens *int64 `mapstructure:"max_tokens"` Temperature *float64 `mapstructure:"temperature"` Reasoning *bool `mapstructure:"reasoning"` ReasoningEffort *providers.ReasoningEffort `mapstructure:"reasoning_effort"` }
type TensorZero ¶
type TensorZero struct {
BaseUrl string `mapstructure:"base_url"`
}
Click to show internal directories.
Click to hide internal directories.