Skip to main content

New Patch - v.0.1.2

Smartcommit Team
Maintainers

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 .smartcommitrc using providerModels.
  • Provider-aware model resolution logic that restores the last selected model for the activated provider.

Changed

  • smartcommit init now stores the configured model under the selected provider in providerModels.
  • smartcommit providers login now uses the saved model for the selected provider as the editable default prompt value.
  • smartcommit providers now restores the selected provider model from providerModels and only falls back to provider defaults when no saved model exists.
  • Configuration schema now accepts optional providerModels with validation for supported provider keys and non-empty model values.

Fixed

  • Fixed model reset behavior when switching providers multiple times in the same repository.