Revert model dropdown and GPT-5 support for text generation #11
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.
This PR reverts the model dropdown and GPT-5 support functionality that was introduced in commit 4e6b20b. The application now uses a single fixed model for text generation instead of allowing users to select between different models.
Changes Made
Model Configuration
TEXT_MODELSarray that contained selectable models including GPT-5"anthropic/claude-4-sonnet"as the fixed text generation modelTextModeltype definition as model selection is no longer neededUI Components
selectedModel,onChangeModel, andavailableModelsparametersState Management
App.tsxincludinguseQueryState("model")selectedModelpropAPI Routes
createAIStreamfunction to always useDEFAULT_TEXT_MODELImpact
The revert maintains all existing functionality except for the ability to choose between different text generation models, effectively reverting to a simpler, single-model approach.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.