diff --git a/openjudge/models/openai_chat_model.py b/openjudge/models/openai_chat_model.py index 5eb20331c..dcff72da3 100644 --- a/openjudge/models/openai_chat_model.py +++ b/openjudge/models/openai_chat_model.py @@ -243,7 +243,7 @@ def _is_valid_message(msg: dict) -> bool: ) structured_model = {"type": "json_object"} - # kwargs["response_format"] = structured_model + kwargs["response_format"] = structured_model if not self.stream: kwargs.pop("stream", None)