From 744e55003c10b890f15ab6cddb599393739c68c3 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 06:59:24 +0000 Subject: [PATCH] Update default model to gpt-5.1 Co-Authored-By: nilenso --- src/storymachine/config.py | 2 +- tests/test_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storymachine/config.py b/src/storymachine/config.py index ad604bb..17c0ef1 100644 --- a/src/storymachine/config.py +++ b/src/storymachine/config.py @@ -7,7 +7,7 @@ class Settings(BaseSettings): openai_api_key: str = Field(..., frozen=True, alias="OPENAI_API_KEY") github_token: str | None = Field(None, frozen=True, alias="GITHUB_TOKEN") gitlab_token: str | None = Field(None, frozen=True, alias="GITLAB_TOKEN") - model: str = Field("gpt-5", alias="MODEL") + model: str = Field("gpt-5.1", alias="MODEL") reasoning_effort: str = Field("low", alias="REASONING_EFFORT") class Config: diff --git a/tests/test_config.py b/tests/test_config.py index f56e420..d2cb40c 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -139,7 +139,7 @@ def test_settings_default_model(self, monkeypatch, tmp_path: Path) -> None: os.chdir(tmp_path) settings = Settings() # pyright: ignore[reportCallIssue] - assert settings.model == "gpt-5" + assert settings.model == "gpt-5.1" finally: os.chdir(original_cwd)