Skip to content

Commit

Permalink
Cleanup format
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Jan 31, 2025
1 parent 85fc4e8 commit 8b6e9ed
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,9 @@ async def _run(self, input: Dict | str) -> RunOutput:

extra_body = {}
if self.config.openrouter_style_reasoning and thinking_llm:
extra_body = {
"include_reasoning": True,
# Filter to providers that support the reasoning parameter
"provider": {
"require_parameters": True,
},
}
extra_body["include_reasoning"] = True
# Filter to providers that support the reasoning parameter
extra_body["provider"] = {"require_parameters": True}

# Main completion call
response_format_options = await self.response_format_options()
Expand Down

0 comments on commit 8b6e9ed

Please sign in to comment.