Skip to content

Errors regarding tool names that are not used in a project. #2924

@jeremypeters

Description

@jeremypeters

It seems that somewhere in the pipeline tool names in an agent's tool list are being ignored and ADK is making up it's own.

For example in my project I have a documentation agent with one tool called vertex_rag_retrieval_tool that makes use of VertexAiRagRetrieval. When a suitable question is asked that makes use of this agent there is a 500 error response, and the error in the console is valueError: Function query_rag is not found in the tools_dict. - there is no query_rag tool used in the project. Other times I will get the same error, but with a slightly different tool name that is also not used anywhere in the project.

Checking the trace (using Phoenix) shows that control is being transferred to the relevant agent.

Metadata

Metadata

Labels

core[Component] This issue is related to the core interface and implementation

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions