OpenBMB / XAgent

An Autonomous LLM Agent for Complex Task Solving
https://blog.x-agent.net/blog/xagent/
Apache License 2.0
7.82k stars 795 forks source link

执行脚本,ToolAgent使用网页搜索 https://duckduckgo.com 报错 #320

Closed momaek2023 closed 6 months ago

momaek2023 commented 6 months ago

Issue Description / 问题描述

Please provide a detailed description of the error or issue you encountered. / 请详细描述您遇到的错误或问题。 执行脚本,ToolAgent使用网页搜索报错(https://duckduckgo.com) TOOL STATUS CODE : TOOL_CALL_FAILED https 访问报错,但是本地curl http是可以通过的,请问有什么解决办法

Steps to Reproduce / 复现步骤

Please provide the specific steps to reproduce the error. / 请提供复现错误的具体步骤。 执行run脚本,选择gpt3.5的模型

Expected Behavior / 预期行为

Describe the behavior you expected to see. / 请描述您期望的正确行为。

Environment / 环境信息

Error Screenshots or Logs / 错误截图或日志

If possible, please provide relevant screenshots or logs of the error. / 如果可能,请提供相关的错误截图或日志文件。

  1. curl -v http://duckduckgo.com 可curl通

  2. curl -v https://duckduckgo.com 报错 不通过

Additional Notes / 其他备注

If you have any additional information or notes, please add them here. / 如果有其他补充信息,请在此处添加。

我在更换代理后,在浏览器工具调用时显示: httperror [Error99] can not assign requested address。(可以wget成功,但是curl不通)

sailaoda commented 6 months ago

您好,请检查您服务器系统的代理和防火墙设置,如果您是在云服务器上,请检查您的云服务器控制台网络访问设置。 之前有过局域网服务器相同无法访问duckduckgo情况,更换国外服务器后解决,供您参考。

Umpire2018 commented 6 months ago

同时请您参考 此处 来使用 bing 替换 duckduckgo.

momaek2023 commented 6 months ago

同时请您参考 此处 来使用 bing 替换 duckduckgo.

你好,请问有没有不需要密钥的浏览器设置呢

Umpire2018 commented 6 months ago

可以了解下使用全局代理来改善网络环境。