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

Raise an error when an empty tool list is passed to bind_tools #38

Open
B-Step62 opened this issue Nov 15, 2024 · 0 comments
Open

Raise an error when an empty tool list is passed to bind_tools #38

B-Step62 opened this issue Nov 15, 2024 · 0 comments

Comments

@B-Step62
Copy link
Collaborator

When an empty tools is passed to bind_tools, ChatDatabricks does not complain about it and the agent just runs fine, but in unexpected way (no tool usage). We can catch it earlier in the class and fail first, similar to what ChatOpenAI does.

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

No branches or pull requests

1 participant