New Patch - v.0.1.2
This release improves provider switching by persisting model selection per provider at the repository level. smartcommit now restores each provider's last selected model from .smartcommitrc instead of resetting to provider defaults when switching back and forth.
Added
- Per-provider model persistence in
.smartcommitrcusingproviderModels. - Provider-aware model resolution logic that restores the last selected model for the activated provider.
Changed
smartcommit initnow stores the configured model under the selected provider inproviderModels.smartcommit providers loginnow uses the saved model for the selected provider as the editable default prompt value.smartcommit providersnow restores the selected provider model fromproviderModelsand only falls back to provider defaults when no saved model exists.- Configuration schema now accepts optional
providerModelswith validation for supported provider keys and non-empty model values.
Fixed
- Fixed model reset behavior when switching providers multiple times in the same repository.