Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶
Types ¶
type Config ¶
type Config struct {
LLM struct {
Provider string `yaml:"provider"`
Ollama struct {
Model string `yaml:"model"`
Host string `yaml:"host"`
} `yaml:"ollama"`
Claude struct {
APIKey string `yaml:"api_key"`
Model string `yaml:"model"`
} `yaml:"claude"`
OpenAI struct {
APIKey string `yaml:"api_key"`
Model string `yaml:"model"`
} `yaml:"openai"`
} `yaml:"llm"`
MaxFixes int `yaml:"max_fixes"`
MaxAttempts int `yaml:"max_attempts"`
Timeout time.Duration `yaml:"timeout"`
ExtraPrompt string `yaml:"additional_prompt"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.