TwoOnefour

Results 14 comments of TwoOnefour

这个请去cqhttp 的issue发吧,这里是插件,顺带一提建议更换protocol试试

可以提供nonebot2终端运行时候的日志吗

你的api key打码一下,然后能否看看你的代理日志

你先试试这样 ``` import requests openai.api_key = "xxx" openai.proxy = { "http": "http://127.0.0.1:{clash_port}" } completion = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages="hello" )) print(completion.choices[0].message["content"]) ```

你可以直接新建一个文件,然后粘贴进去运行

噢,忘记说了,如果你是没有openai库的话是不能这样的