Skip to content

feat: persist model configuration - #92

Merged
wajeht merged 2 commits into
mainfrom
feat/persist-model-config
Aug 2, 2026
Merged

feat: persist model configuration#92
wajeht merged 2 commits into
mainfrom
feat/persist-model-config

Conversation

@wajeht

@wajeht wajeht commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • save the preferred OpenRouter model alongside the API key
  • prompt for the model during first-run setup and --setup
  • apply model precedence as --model, COMMIT_MODEL, saved config, then openrouter/free
  • document and test the updated configuration flow

Impact

Users can choose a model once during setup instead of passing it on every run.
Existing key-only configurations continue to use openrouter/free until setup is rerun.

Validation

  • bash -n assets/sh/commit.sh assets/sh/install.sh
  • go test ./...
  • go test -race ./...
  • go vet ./...
  • git diff --check

@wajeht
wajeht marked this pull request as ready for review August 2, 2026 07:12
@wajeht
wajeht merged commit 657bba7 into main Aug 2, 2026
4 checks passed
@wajeht
wajeht deleted the feat/persist-model-config branch August 2, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant