Skip to content

Conversation

@nitpicker55555
Copy link
Collaborator

Remove parallel_tool_calls from request config when tools are not present, as OpenAI API only allows this parameter when tools are specified.

Files modified:

  • camel/models/openai_model.py
  • camel/models/azure_openai_model.py
  • camel/models/openai_compatible_model.py

Description

Describe your changes in detail (optional if the linked issue already contains a detailed description of the changes).

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have read the CONTRIBUTION guide (required)
  • I have linked this PR to an issue using the Development section on the right sidebar or by adding Fixes #issue-number in the PR description (required)
  • I have checked if any dependencies need to be added or updated in pyproject.toml and uv lock
  • I have updated the tests accordingly (required for a bug fix or a new feature)
  • I have updated the documentation if needed:
  • I have added examples if this is a new feature

If you are unsure about any of these, don't hesitate to ask. We are here to help!

Remove parallel_tool_calls from request config when tools are not
present, as OpenAI API only allows this parameter when tools are
specified.

Files modified:
- camel/models/openai_model.py
- camel/models/azure_openai_model.py
- camel/models/openai_compatible_model.py

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 17, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the Review Required PR need to be reviewed label Jan 17, 2026
Copy link
Member

@Wendong-Fan Wendong-Fan left a comment

Choose a reason for hiding this comment

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

thanks @nitpicker55555 !

@Wendong-Fan Wendong-Fan merged commit 12034f9 into master Jan 19, 2026
14 checks passed
@Wendong-Fan Wendong-Fan deleted the chore/parallel_tool_call branch January 19, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Required PR need to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants