Skip to content

feat(model-switch): add commands to save preferred models - #129

Merged
nicknisi merged 1 commit into
mainfrom
feat/model-switch-add-models
Sep 9, 2026
Merged

feat(model-switch): add commands to save preferred models#129
nicknisi merged 1 commit into
mainfrom
feat/model-switch-add-models

Conversation

@nicknisi

@nicknisi nicknisi commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • /model-switch add searches available models, then saves the selection to a chosen section.
  • /model-switch add-current saves the active model without opening the catalog picker.

Both commands skip duplicates within the chosen section and cancel without writing. Saves preserve existing config data and the legacy format, use atomic replacement, and respect symlinks. Includes command completion, documentation, regression tests, and a minor changeset.

Verification

All 78 model-switch tests passed. Repository typecheck, lint, build, tracked-file formatting, changed-file formatting, and a scratch Pi extension-load smoke test passed. Independent review found no blockers.

The full pnpm format:check reports pre-existing formatting issues in 27 ignored .pi/artifacts files. Those files are unrelated and untouched.

@nicknisi
nicknisi merged commit 43a07d6 into main Sep 9, 2026
3 checks passed
@nicknisi
nicknisi deleted the feat/model-switch-add-models branch September 9, 2026 21:16
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