Skip to content

Conversation

ronaldchwu
Copy link
Contributor

The current ChatCompletion API supports only parallel_tool_calls=True or parallel_tool_calls=NOT_GIVEN
This PR is to support setting parallel_tool_calls=False, a common requirement in controlling agent tool use patterns (e.g. ensuring one tool call at the time, to facilitate desired tool calling sequence).

I followed the merged PR#333 for consistency.

Copy link
Collaborator

@rm-openai rm-openai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@rm-openai rm-openai merged commit b978b43 into openai:main Apr 15, 2025
5 checks passed
@ronaldchwu ronaldchwu deleted the support-parallel-tool-calls-false branch April 15, 2025 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants