安装gpt_academic并尝试运行时报错如下

[local message] 异常 traceback (most recent call last): file ".\request_llms\bridge_chatgpt.py",
 line 223, in predict chunk = next(stream_response) stopiteration 404 page not found
raise RuntimeError("OpenAI拒绝了请求:" + error_msg)
RuntimeError: OpenAI拒绝了请求:404 page not found

使用代理

clash一般是http协议,端口默认是7890
在这里插入图片描述

clash最好开启global模式
在这里插入图片描述

如果不使用代理,使用重定向API

确定API_URL重定向格式是否正确,两者需要对应
在这里插入图片描述

在这里插入图片描述

成功运行

在这里插入图片描述

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐