From c12dc1d765ec499a314c81793b771e3ece34ec75 Mon Sep 17 00:00:00 2001 From: Lachlan Donald Date: Sat, 14 Jun 2025 15:50:40 +1000 Subject: [PATCH] Fix syntax error from incomplete merge conflict resolution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove merge conflict markers from providers/openai.py - Include o3-pro in temperature constraint check for O3/O4 models 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- providers/openai.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/providers/openai.py b/providers/openai.py index 0672301..4e6f944 100644 --- a/providers/openai.py +++ b/providers/openai.py @@ -58,13 +58,8 @@ class OpenAIModelProvider(OpenAICompatibleProvider): config = self.SUPPORTED_MODELS[resolved_name] # Define temperature constraints per model -<<<<<<< HEAD - if resolved_name in ["o3", "o3-mini", "o4-mini", "o4-mini-high"]: + if resolved_name in ["o3", "o3-mini", "o3-pro", "o4-mini", "o4-mini-high"]: # O3 and O4 reasoning models only support temperature=1.0 -======= - if model_name in ["o3", "o3-mini", "o3-pro"]: - # O3 models only support temperature=1.0 ->>>>>>> 155c4ec (Add o3-pro model support and extend test coverage) temp_constraint = FixedTemperatureConstraint(1.0) else: # Other OpenAI models support 0.0-2.0 range