Skip to content

bug: init command hardcodes LLM config in config.md instead of using setup results #26

@FreeTurtle7

Description

@FreeTurtle7

In src/cli/init.ts, the config.md generation hardcodes the LLM provider and model instead of using the values selected during the runSetup phase.

Current code:

        const configLines = [
          "# FreeTurtle Config\n",
          "## LLM",
          "- provider: claude_api",
          "- model: claude-sonnet-4-5",
          ...

Expected behavior:
It should use state.setupResult.provider and state.setupResult.model to ensure the config matches the .env and the user's choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions