diff options
| -rw-r--r-- | config/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index d745afb..40f6fca 100644 --- a/config/config.go +++ b/config/config.go @@ -124,6 +124,9 @@ func LoadConfig(fn string) (*Config, error) { if config.CompletionAPI != "" { config.ApiLinks = append(config.ApiLinks, config.CompletionAPI) } + if config.RAGDir == "" { + config.RAGDir = "ragimport" + } // if any value is empty fill with default return config, nil } |
