Switched to DDG
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user