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

Mark tool_choice.{type,function} as required #129

Closed
wants to merge 1 commit into from

Conversation

rattrayalex
Copy link
Contributor

Fixes openai/openai-node#521

Current API behavior is to throw if type: function is not provided, my assumption is that function is also required.

cc @athyuttamre

Fixes openai/openai-node#521

Current API behavior is to throw if `type: function` is not provided, my assumption is that `function` is also required.

cc @athyuttamre
@logankilpatrick
Copy link
Contributor

Added this to an internal PR

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.

Error thrown if type?: function is not specified specified in tool_choice
2 participants