chrisyy2003 / nonebot-plugin-gpt3

A nonebot plugin base on OpenAI API (gpt-3.5-turbo)
112 stars 16 forks source link

发生请求错误 #31

Open black-zero358 opened 1 year ago

black-zero358 commented 1 year ago

image 配置文件: GPT3_API_KEY_LIST_FROM_ENV=["sk-****rMrwn"] gpt3_model = 'gpt-3.5-turbo' # 语言模型 gpt3_command_prefix = "c" # 基本触发命令 gpt3_need_at = False # 是否需要@才触发命令 gpt3_image_render = True # 是否需要将回答渲染为图片 gpt3_image_limit = 100 # 长度超过多少才会渲染成图片 gpt3_max_tokens = 400 # 返回回答的最大长度

image 这样之后就没动静了

是网络问题吗?

Rod-fish commented 1 year ago

image 我这里报错是这个,同样也不能聊天

chrisyy2003 commented 1 year ago

重新安装一下插件,再看看readme中的安装部分,变化比较大 确保是1.1.3版本

black-zero358 commented 1 year ago

重新安装一下插件,再看看readme中的安装部分,变化比较大 确保是1.1.3版本

image

似乎存在延迟,我直接放到plugins文件夹试试

black-zero358 commented 1 year ago

重新安装一下插件,再看看readme中的安装部分,变化比较大 确保是1.1.3版本

image 新的问题。。

chrisyy2003 commented 1 year ago

重新安装一下插件,再看看readme中的安装部分,变化比较大 确保是1.1.3版本

image 新的问题。。

没装对吧,

zhulinyv commented 1 year ago

image 同样的问题。

chrisyy2003 commented 1 year ago

试试更新openai库到0.27.0版本 pip install openai -U

zhulinyv commented 1 year ago

试试更新openai库到0.27.0版本 pip install openai -U

问题解决,但 api 也被墙力(悲 image

chrisyy2003 commented 1 year ago

image 增加了代理地址,可以看看readme配置一下

Nighttell commented 1 year ago

设置了代理,提示发生未知错误:<class'httpx.RemoteProtocolError'>,大佬救救orz

beisina commented 1 year ago

我也是代理报错<class'httpx.RemoteProtocolError'>