Skip to content

fix: preserve legacy model config key#174

Open
buyua9 wants to merge 1 commit into
BuilderIO:mainfrom
buyua9:fix/legacy-model-config-buyua9
Open

fix: preserve legacy model config key#174
buyua9 wants to merge 1 commit into
BuilderIO:mainfrom
buyua9:fix/legacy-model-config-buyua9

Conversation

@buyua9
Copy link
Copy Markdown

@buyua9 buyua9 commented May 14, 2026

Summary

  • keep reading legacy lowercase model entries from existing ~/.ai-shell files as a fallback for the canonical MODEL config key
  • prefer MODEL when both keys exist
  • remove the legacy model key when saving a new MODEL value so future writes stay canonical

Tests

  • npm run typecheck
  • npm run build
  • git diff --check

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