Update default model to gpt-5.1 #14
Closed
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.
Update default model to gpt-5.1
Summary
Changed the default OpenAI model from
gpt-5togpt-5.1in the Settings configuration. When users don't specify aMODELenvironment variable, storymachine will now usegpt-5.1instead ofgpt-5.Files changed:
src/storymachine/config.py: Updated default model valuetests/test_config.py: Updated test assertion to match new defaultReview & Testing Checklist for Human
gpt-5.1is a valid and available OpenAI model nameMODELenvironment variable to confirm the application works with the new defaultTest Plan
MODELenvironment variable (or use a fresh environment)uv run storymachine --prd <test-prd> --tech-spec <test-spec> --repo <test-repo>Notes
MODELexplicitly set in their environment are unaffected by this changeai.pyalready supports gpt-5.x models via themodel.startswith("gpt-5")check, so no changes were needed thereRequested by: nilenso ([email protected] / @tfidfwastaken)
Devin session: https://app.devin.ai/sessions/87db1c328d3e4221a705de21c27ba506