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

Pass no tool argument when none provided #138

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

cvaske
Copy link
Collaborator

@cvaske cvaske commented Feb 28, 2024

OpenAI's API requires that the tool list has at least one element when it is present.

Also, pass the tools even when not streaming

OpenAI's API requires that the tool list has at least one element
when it is present.

Also, pass the tools even when not streaming
@rgbkrk rgbkrk merged commit 8592749 into rgbkrk:main Feb 28, 2024
7 checks passed
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