Repository navigation
Every provider starts on its own default model, and you can change it - #155
Merged
Merged
Conversation
… change it One table of each provider's default models (engine/ai/providerDefaults) now seeds both products. The desktop's catalog reads its presets from it, and OpenAI connections are back on OpenAI's current defaults (gpt-6-luna, gpt-6.1-terra, gpt-6.1-sol). A connection still on gpt-4o moves to them when OpenAI retires gpt-4o, as it did in 2.9.0. Azure starts on the same models instead of gpt-4o. In the extension, an empty model setting now means the defaults of the provider the base URL points at. Until now the settings defaulted to gpt-4o for every endpoint, so Groq, OpenRouter and local servers were all sent OpenAI's model. If any tier holds a model of your own, it is used and no default is mixed in. Each card in the AI panel starts on its provider's default and lists the models you can switch to. For Ollama and LM Studio, the default becomes a model the server actually has. This replaces the unreleased "you choose the OpenAI model" change, including its one-time migration that pinned 1.24 users to gpt-4o. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each provider now starts on its own default model, and you can change it, in both the extension and the desktop app. This follows up #154 (unreleased) and replaces its "you choose the OpenAI model" behaviour.
packages/engine/src/ai/providerDefaults.tsholds each provider's default models. The desktop catalog reads its presets from it, and the extension reads it too.Tests:
apps/extension/test/aiProviderDefaults.test.ts: endpoint detection, default resolution, the request sent, and the panel in headless Chrome.packages/ai/test/retiredDefaults.test.ts: the presets match the table, and gpt-4o connections migrate.npm run verifypasses.🤖 Generated with Claude Code