binary-husky / gpt_academic

为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。
https://github.com/binary-husky/gpt_academic/wiki/online
GNU General Public License v3.0
65.94k stars 8.09k forks source link

[Feature]: 联网搜索报错 #1941

Open raypenper opened 3 months ago

raypenper commented 3 months ago

Class | 类型

函数插件

Feature Request | 功能请求

已配置代理,报错信息如下:

[Local Message] 插件调用出错:

Traceback (most recent call last): File ".\toolbox.py", line 221, in decorated yield from f(main_input, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, *args, **kwargs) File ".\crazy_functions\Internet_GPT.py", line 211, in 连接网络回答问题 urls = searxng_request(txt, proxies, categories, searxng_url, engines=engines) File ".\crazy_functions\Internet_GPT.py", line 165, in searxng_request raise ValueError("在线搜索失败,状态码: " + str(response.status_code) + '\t' + response.content.decode('utf-8')) ValueError: 在线搜索失败,状态码: 405

405 Not Allowed

405 Not Allowed


nginx/1.11.2

daxiavpm commented 3 months ago

我也是这个问题 一模一样

pfjiang537 commented 3 months ago

+1

jiangangoddog commented 3 months ago

+1