diff --git a/libs/chatchat-server/chatchat/server/agent/tools_factory/search_internet.py b/libs/chatchat-server/chatchat/server/agent/tools_factory/search_internet.py index ccf0a7d..e7c3838 100644 --- a/libs/chatchat-server/chatchat/server/agent/tools_factory/search_internet.py +++ b/libs/chatchat-server/chatchat/server/agent/tools_factory/search_internet.py @@ -122,11 +122,12 @@ def zhipu_search(text, config, top_k): "Content-Type": "application/json" } payload = { - "search_engine": "search_std", # 指定Web搜索专用模型 - "search_query": "哪吒2票房" + "search_engine": "Search-Pro", # 指定Web搜索专用模型 + "search_query": text } response = requests.post(endpoint, headers=headers, json=payload) result = response.json() + print(f"================!! result: {result}") return result