Skip to content

ValueError: Tool VLSearchImage is not registered. #234

@small-code-cat

Description

@small-code-cat

Traceback (most recent call last):
File "/data/user0/PycharmProjects/DeepResearch-main/WebAgent/WebWatcher/test.py", line 12, in
main()
File "/data/user0/PycharmProjects/DeepResearch-main/WebAgent/WebWatcher/test.py", line 4, in main
agent = OmniSearchGraph()
^^^^^^^^^^^^^^^^^
File "/data/user0/PycharmProjects/DeepResearch-main/WebAgent/WebWatcher/infer/scripts_eval/agent_langgraph.py", line 137, in init
self.qwen_agent = Qwen_agent(function_list=['web_search', 'VLSearchImage','visit', 'code_interpreter'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/user0/PycharmProjects/DeepResearch-main/WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/qwen_tool_call.py", line 31, in init
super().init(function_list=function_list,
File "/data/user0/anaconda3/envs/webdancer/lib/python3.12/site-packages/qwen_agent/agent.py", line 65, in init
self._init_tool(tool)
File "/data/user0/anaconda3/envs/webdancer/lib/python3.12/site-packages/qwen_agent/agent.py", line 233, in _init_tool
raise ValueError(f'Tool {tool_name} is not registered.')
ValueError: Tool VLSearchImage is not registered.
I encountered this error when trying to run WebWather's eval.sh script. How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions