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

Returning a tool response without content results in an error #810

Open
csansoon opened this issue Jan 30, 2025 · 0 comments
Open

Returning a tool response without content results in an error #810

csansoon opened this issue Jan 30, 2025 · 0 comments
Labels
🐛 bug Something isn't working p1 High priority issues

Comments

@csansoon
Copy link
Contributor

A tool call can be defined as a void. However, in that case, the tool response message will not have any content, which some providers (ejem openai ejem) do not like. In this case, we should default to an empty string.

@csansoon csansoon added p1 High priority issues 🐛 bug Something isn't working labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working p1 High priority issues
Projects
Status: Next
Development

No branches or pull requests

1 participant