cheungchazz / WeChat-AIChatbot-WinOnly

基于chatgpt-on-wechat框架,只能运行在Win平台的项目,通过本项目可以将微信或者企业微信个人号接入ChatGpt、文心一言、FastGpt、LinkAI,可以文字对话、语音对话、图片交互、文件交互等。
Apache License 2.0
323 stars 74 forks source link

chatgpt对话发生错误 #7

Open flyinsz opened 10 months ago

flyinsz commented 10 months ago

前置确认

⚠️ 搜索issues中是否已存在类似问题

操作系统类型?

Windows

运行的python版本是?

python 3.10

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

只要一对话就发生错误 File "D:\Python310\lib\site-packages\openai\api_requestor.py", line 609, in request_raw raise error.APIConnectionError( openai.error.APIConnectionError: Error communicating with OpenAI: Invalid URL '/chat/completions': No scheme supplied. Perhaps you meant https:///chat/completions?

问题描述 😯

如上

终端日志 📒

  File "D:\Python310\lib\site-packages\openai\api_requestor.py", line 609, in request_raw
    raise error.APIConnectionError(
openai.error.APIConnectionError: Error communicating with OpenAI: Invalid URL '/chat/completions': No scheme supplied. Perhaps you meant https:///chat/completions?