chatgpt-on-wechat icon indicating copy to clipboard operation
chatgpt-on-wechat copied to clipboard

临时解决微信公众号消息前[ERROR]

Open imhut opened this issue 1 year ago • 1 comments

⚠️ 搜索是否存在类似issue

  • [X] 我已经搜索过issues和disscussions,没有发现相似issue

总结

https://github.com/zhayujie/chatgpt-on-wechat/issues/1880 这里已经解释了原因了,我这里就不过多说明,只是教大家如何临时解决! 修改文件: /bot/chatgpt/chat_gpt_bot.py 88行 reply = Reply(ReplyType.ERROR, reply_content["content"]) 修改为 reply = Reply(ReplyType.TEXT, reply_content["content"])

就这么简单 12 123 1234

举例

No response

动机

No response

imhut avatar May 05 '24 04:05 imhut

⚠️ 搜索是否存在类似issue

  • [X] 我已经搜索过issues和disscussions,没有发现相似issue

总结

https://github.com/zhayujie/chatgpt-on-wechat/issues/1880 这里已经解释了原因了,我这里就不过多说明,只是教大家如何临时解决! 修改文件: /bot/chatgpt/chat_gpt_bot.py 88行 reply = Reply(ReplyType.ERROR, reply_content["content"]) 修改为 reply = Reply(ReplyType.TEXT, reply_content["content"])

就这么简单 12 123 1234

举例

No response

动机

No response

👍

zhangbinhui avatar May 07 '24 04:05 zhangbinhui

根本原因应该是使用的三方key返回的格式不是标准的openai格式

6vision avatar May 22 '24 17:05 6vision