refactor(config): categorize presets into configs/{llm,embedders}/#18
Merged
Conversation
Root had 22 config files. Move the 17 preset configs into a categorized
configs/ tree and drop redundant prefixes:
configs/llm/ <- config.<provider>.example.yml (6 LLM-provider presets)
configs/embedders/ <- config_<model>.yml (11 embedding presets)
config.example.yml and config.yml stay in repo root (config.yml is the
default the CLI loads with no -c). Added configs/README.md indexing every
preset. Removed a stale config.yml.bak.* backup.
Updated all references (README, docs/{agent-cli-caveats,embedding-models,
recipe-book,guides/embedding-and-rag-configuration}, config header comments)
and the test_config_audit glob — which now also validates configs/embedders/*
and configs/llm/openrouter-free.yml (previously unvalidated). 24/24 audit
tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Declutter the repo root: it held 22 config files. This moves the 17 preset configs into a categorized
configs/tree and drops redundant prefixes.config.<provider>.example.yml×6configs/llm/{claude_code,codex,hermes,ollama,openclaw,openrouter-free}.ymlconfig_<model>.yml×11configs/embedders/{bge_m3,openai_large,specter2,pubmedbert,…}.ymlconfig.yml.bak.*(junk)config.example.ymlandconfig.ymlstay in repo root —config.ymlis the default the CLI loads when no-cis passed.Why
Root went from 22 config files → 2. New
configs/README.mdindexes every preset (provider / embedding model / when to use).Reference + test updates
README.md,docs/{agent-cli-caveats,embedding-models,recipe-book-2026-05-15,guides/embedding-and-rag-configuration}.md, and each preset's own header comments.tests/integration/test_config_audit.pyglob now points atconfigs/llm/*+configs/embedders/*+ rootconfig.example.yml— so it additionally validates the 11 embedder presets andopenrouter-free.yml, which were previously unvalidated. 24/24 audit tests pass.Migration note
-c config_openai_large.yml→-c configs/embedders/openai_large.yml(and similarly for other presets). Renames are detected by git, so history is preserved.🤖 Generated with Claude Code