Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to support required toolchoice mode #429

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sepatel
Copy link

@sepatel sepatel commented Feb 21, 2025

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #424

Describe your change

Define toolchoice for required to be in compliance with the documented API specifications mentioned at https://platform.openai.com/docs/guides/function-calling#additional-configurations

What problem is this fixing?

The inability to easily choose Required as a tool choice option when working with OpenAI APIs

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.

Allow for Tool Choice "required"
1 participant