Switched to DDG

This commit is contained in:
Pavel Pivovarov
2026-01-09 11:26:18 +11:00
parent 35733aa3e2
commit 0f9d9fb9c6
6 changed files with 173 additions and 65 deletions

View File

@@ -16,9 +16,6 @@ type Config struct {
ContextSize int `yaml:"context_size"`
APIKey string `yaml:"api_key"`
// SearXNG Configuration
SearXNGURL string `yaml:"searxng_url"`
// System Prompt
Prompt string `yaml:"prompt"`
@@ -73,9 +70,6 @@ func Load() (*Config, error) {
if cfg.Model == "" {
return nil, fmt.Errorf("model is required in config")
}
if cfg.SearXNGURL == "" {
return nil, fmt.Errorf("searxng_url is required in config")
}
if cfg.Prompt == "" {
return nil, fmt.Errorf("prompt is required in config")
}