Skip to content

chore: codegraph config --init scaffold omits the embeddings section entirely #1718

Description

@carlos-alm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions