Skip to content

fix: resolve config not loading from ~/.docscontext/ or config.yml#6

Merged
aksOps merged 1 commit into
mainfrom
claude/fix-codecontext-config-DR15O
Mar 20, 2026
Merged

fix: resolve config not loading from ~/.docscontext/ or config.yml#6
aksOps merged 1 commit into
mainfrom
claude/fix-codecontext-config-DR15O

Conversation

@aksOps

@aksOps aksOps commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

No description provided.

The config loader only searched ~/.DocsContext/ (case-sensitive on Linux)
and restricted to .yaml extension via SetConfigType. Users creating
~/.docscontext/config.yml would silently fall back to ollama defaults.

- Add ~/.docscontext/ as primary config search path (lowercase, conventional)
- Remove SetConfigType("yaml") so Viper finds both .yaml and .yml
- Add slog warnings when no config file is found, showing searched paths
- Log which config file was loaded and the resolved LLM provider

https://claude.ai/code/session_011Ryet7uu9j6VyzNGmUuaaj
@aksOps aksOps merged commit 2bb077e into main Mar 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants