We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13abb68 commit 326ff09Copy full SHA for 326ff09
src/agents/models/openai_responses.py
@@ -208,7 +208,9 @@ async def _fetch_response(
208
list_input = ItemHelpers.input_to_new_input_list(input)
209
210
parallel_tool_calls = (
211
- True if model_settings.parallel_tool_calls and tools and len(tools) > 0 else NOT_GIVEN
+ True if model_settings.parallel_tool_calls and tools and len(tools) > 0
212
+ else False if model_settings.parallel_tool_calls is False
213
+ else NOT_GIVEN
214
)
215
216
tool_choice = Converter.convert_tool_choice(model_settings.tool_choice)
0 commit comments