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

Anthropic Tools: added default input_schema if no params #837

Conversation

dghirardo
Copy link
Contributor

@dghirardo dghirardo commented Oct 14, 2024

Issue #826

This pull request addresses the issue where function schemas without parameters were causing errors when used with Anthropic. It ensures that a default empty input_schema is added when no parameters are present, aligning with Anthropic's requirements.

@andreibondarev andreibondarev linked an issue Oct 15, 2024 that may be closed by this pull request
@andreibondarev
Copy link
Collaborator

@dghirardo Amazing work! 👏🏻

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.

Anthropic throws an error when Database tool is used
2 participants