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

Tools called when not needed #366

Open
javixeneize opened this issue Dec 11, 2024 · 0 comments
Open

Tools called when not needed #366

javixeneize opened this issue Dec 11, 2024 · 0 comments

Comments

@javixeneize
Copy link

Before submitting a bug, please make sure the issue hasn't been already addressed by searching through the FAQs and existing/past issues

Describe the bug

When enabling the tool feature, the LLM calls a tool even when it is not needed. I have created a function to retrieve data from a database, and, even if send "Hi" as the prompt, the LLM returns that function to be called

Minimal reproducible example

Create a function, the typical get weather would work, and send a prompt unrelated to that function. The LLM always returns that function to be called

Output

N/A

Runtime Environment

N/A

Additional context

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