Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentOptions ¶
type AgentOptions struct {
Iterations int `yaml:"iterations"`
MaxAttempts int `yaml:"max_attempts"`
MaxRetries int `yaml:"max_retries"`
ForceReasoning bool `yaml:"force_reasoning"`
}
AgentOptions holds configuration for the cogito ExecuteTools function
type Config ¶
type Config struct {
Model string `yaml:"model"`
APIKey string `yaml:"api_key"`
BaseURL string `yaml:"base_url"`
LogLevel string `yaml:"log_level"`
Prompt string `yaml:"prompt"`
MCPServers map[string]MCPServer `yaml:"mcp_servers"`
AgentOptions AgentOptions `yaml:"agent_options"`
ReviewerLLM *ReviewerLLMConfig `yaml:"reviewer_llm"`
}
Config holds configuration for creating a new session
type ReviewerLLMConfig ¶ added in v0.0.6
type ReviewerLLMConfig struct {
Model string `yaml:"model"`
APIKey string `yaml:"api_key"`
BaseURL string `yaml:"base_url"`
Enabled *bool `yaml:"enabled"` // If nil, defaults to true when reviewer_llm is configured
}
ReviewerLLMConfig holds configuration for the reviewer LLM (used in plan mode)
Click to show internal directories.
Click to hide internal directories.