From 94aa32efdf27869b922378becd73a91655abb9c5 Mon Sep 17 00:00:00 2001 From: octo-patch Date: Fri, 24 Apr 2026 10:14:35 +0800 Subject: [PATCH] fix: correct pip install order so VLSearchImage is registered (fixes #234) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous install sequence uninstalled qwen-agent, installed the local vl_search_r1/qwen-agent-o1_search (which provides VLSearchImage), and then reinstalled the standard qwen-agent from PyPI — overwriting the local version and removing VLSearchImage from TOOL_REGISTRY. Reversed the order: install qwen-agent[code_interpreter] first (to pull in all required dependencies), then install the local fork in editable mode --no-deps so VLSearchImage remains available when agent_eval.py runs. Co-Authored-By: Octopus --- WebAgent/WebWatcher/infer/scripts_eval/scripts/eval.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WebAgent/WebWatcher/infer/scripts_eval/scripts/eval.sh b/WebAgent/WebWatcher/infer/scripts_eval/scripts/eval.sh index 593da68b..9de49dcd 100644 --- a/WebAgent/WebWatcher/infer/scripts_eval/scripts/eval.sh +++ b/WebAgent/WebWatcher/infer/scripts_eval/scripts/eval.sh @@ -115,9 +115,8 @@ else fi -pip uninstall qwen-agent -pip install -e vl_search_r1/qwen-agent-o1_search --no-deps pip install "qwen-agent[code_interpreter]" +pip install -e vl_search_r1/qwen-agent-o1_search --no-deps # for i in 1 2 3