Skip to content

1.2.2

Choose a tag to compare

@github-actions github-actions released this 10 Aug 11:43
· 28 commits to main since this release
db7a424
Update models: GPT-5, Claude 4, Gemini 2.5 (#452)

* feat: Update anthropic models and add thinking toggle in model settings

* feat: refactor OpenAI reasoning feature with improved UX and GPT-5 support

- Replace simple reasoning_effort field with structured reasoning object
- Add reasoning.enabled toggle for better user control
- Support GPT-5, GPT-5-mini, and GPT-5-nano models with pricing

* feat: Update Gemini models

- Update Gemini models: remove 1.5 versions, add 2.5-pro and 2.5-flash-lite
- Remove Groq pricing constants and cost calculation logic

* feat: Add model fallback

- Add automatic fallback to first available chat model when selected model is not found
- Create LLMModelNotFoundException for better error handling

* feat: Add migration from v10 to v11 with new model structure

- Add migration from v10 to v11 with new reasoning/thinking structure
- Transform OpenAI models with reasoning_effort to new reasoning object structure
- Transform Anthropic models with thinking.budget_tokens to new thinking structure
- Add new default models: claude-sonnet-4.0, claude-opus-4.1, gpt-5 series, gemini-2.5 series

* refactor: Centralize default model ids and update schema fallbacks/recommendations

- Add DEFAULT_CHAT_MODEL_ID ('claude-sonnet-4.0') and DEFAULT_APPLY_MODEL_ID ('gpt-4.1-mini') in src/constants.ts
- Update RECOMMENDED_MODELS_FOR_CHAT to ['claude-sonnet-4.0', 'gpt-4.1'] and RECOMMENDED_MODELS_FOR_APPLY to ['gpt-4.1-mini']
- Update smartComposerSettingsSchema to use the new default IDs as fallbacks (src/settings/schema/setting.types.ts)
- Adjust tests to assert defaults via constants (src/settings/schema/settings.test.ts)

* fix: Resolve CodeRabbit review