fix[config]: update middle model to default to big model value

Change MIDDLE_MODEL environment variable to default to the value of BIG_MODEL instead of hardcoded "gpt-4o"
This commit is contained in:
Stathi Fotiadis
2025-07-08 22:45:18 +00:00
committed by Holegots
parent b2d11ac638
commit 55d4bd1e73
2 changed files with 6 additions and 2 deletions

View File

@@ -120,4 +120,8 @@ When Claude Code generates commit messages on your behalf:
## General Interaction
Claude Code will directly apply proposed changes and modifications using the available tools, rather than describing them and asking you to implement them manually. This ensures a more efficient and direct workflow.
Claude Code will directly apply proposed changes and modifications using the available tools, rather than describing them and asking you to implement them manually. This ensures a more efficient and direct workflow.
## Recent Changes
- Updated MIDDLE_MODEL config to default to BIG_MODEL value for consistency

View File

@@ -22,7 +22,7 @@ class Config:
# Model settings - BIG and SMALL models
self.big_model = os.environ.get("BIG_MODEL", "gpt-4o")
self.middle_model = os.environ.get("MIDDLE_MODEL", "gpt-4o")
self.middle_model = os.environ.get("MIDDLE_MODEL", self.big_model)
self.small_model = os.environ.get("SMALL_MODEL", "gpt-4o-mini")
def validate_api_key(self):