Summary
codegraph config --init (buildInitTemplate() in src/cli/commands/config.ts) scaffolds llm, query, build, ci, and search sections, but never includes an embeddings section at all — not even model/llmProvider, and now also missing the new provider field added in #1716.
Found while auditing PR #1716's documentation — not caused by that PR, the scaffold has never included embeddings.
Fix
Add an embeddings block to buildInitTemplate() (model, llmProvider, provider) mirroring the other sections, so users scaffolding a fresh global config see the remote embedding provider option alongside llm.baseUrl/apiKeyCommand.
Summary
codegraph config --init(buildInitTemplate()insrc/cli/commands/config.ts) scaffoldsllm,query,build,ci, andsearchsections, but never includes anembeddingssection at all — not evenmodel/llmProvider, and now also missing the newproviderfield added in #1716.Found while auditing PR #1716's documentation — not caused by that PR, the scaffold has never included
embeddings.Fix
Add an
embeddingsblock tobuildInitTemplate()(model,llmProvider,provider) mirroring the other sections, so users scaffolding a fresh global config see the remote embedding provider option alongsidellm.baseUrl/apiKeyCommand.