diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-24 11:37:44 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-24 11:37:44 +0300 |
| commit | 978369eeaa6242c73d2bdacca683275b6444db66 (patch) | |
| tree | 88c99054d9b8ca2986db6c705f26fdb26ec51438 /config | |
| parent | c39e1c267deed0480ee360ba942fe881772891c1 (diff) | |
Enha: default rag dir
Diffstat (limited to 'config')
| -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 } |
