-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[Bug]: LLMCompiler fails with Tool{tool_name} not found
value error
#13484
Comments
It looks like the issue you're encountering,
from llama_index.tools.duckduckgo import DuckDuckGoSearchToolSpec
Additionally, ensure the pip install duckduckgo_search For further details, you might want to look into the LlamaIndex repository, specifically the files related to the LLMCompiler utilities and the DuckDuckGoSearchToolSpec. If you've followed these steps and the issue persists, there might be a missing step or configuration in your setup based on the LlamaIndex documentation.
|
The LLM is predicting a tool name that doesn't exist is my guess? I'm not sure what your tool names/descriptions look like, but try to make them unique and descriptive |
For the example I provided the tool names are |
Bug Description
Tool names cannot be found when
agent.chat
is called even though the plan is created.Version
0.10.34
Steps to Reproduce
Use any tool (using duckduckgo search as an example)
tools = DuckDuckGoSearchToolSpec().to_tool_list()
Create LLM model and agent
Relevant Logs/Tracbacks
The text was updated successfully, but these errors were encountered: