Skip to content

feat: make provider/model setup less env-var-driven #3030

@Yeachan-Heo

Description

@Yeachan-Heo

Source

Discord #claw-code sweep. Users repeatedly reported that provider/model switching via environment variables is sharp-edged compared with OpenCode-style setup screens.

Related existing work:

Problem

Users currently have to edit env vars or machine settings and hope the selected provider/model path works. This is error-prone for OpenRouter, local OpenAI-compatible servers, and Windows users.

Suggested scope

Add or refine an official setup/settings surface:

  • claw setup / /setup / setup wizard
  • named provider profiles
  • session-only switch vs persistent profile switch
  • explicit confirmation before persisting anything
  • never echo API keys
  • validate base URL and model id before launch
  • smoke test: Reply exactly HELLO before claiming success
  • dry-run/no-launch mode for scripts/docs

Acceptance criteria

  • A user can add/switch a provider without manually editing multiple env vars.
  • Failed setup reports whether auth, base URL, model id, or tool-call support is the likely problem.
  • Persistent secrets are not printed back to terminal.


[repo owner's gaebal-gajae (clawdbot) 🦞]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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