Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

给自己发消息时候报错 #38

Closed
PumRen opened this issue Feb 2, 2023 · 1 comment
Closed

给自己发消息时候报错 #38

PumRen opened this issue Feb 2, 2023 · 1 comment

Comments

@PumRen
Copy link

PumRen commented Feb 2, 2023

已经更新了此分支,在railway上部署了。给自己发很久后台才能看到信息,后台也能回复。但是微信已经收不到消息
日志:
🎯 Chatbot triggered: askchat 自行车速度多快?
🤖️ Chatbot says: 这取决于自行车的类型和设计,但一般来说,自行车的最高速度可以达到每小时30英里。
❌ AssertionError [ERR_ASSERTION]: 1204 == 0

@kx-Huang
Copy link
Owner

kx-Huang commented Feb 2, 2023

我查了一下,根据这个issue,由于微信系统原因,如果某些账号为新注册,未身份认证或海外账号,自我对话会报错。详细条件为:

  1. 用中国手机号注册的微信账号
  2. 完成了100%实名认证
  3. 能够使用微信网页版 (https://web.wechat.com/)

修复办法:

chatgpt.ts 中设置 disableSelfChat: boolean = true; 关闭自我对话。

@kx-Huang kx-Huang closed this as completed Feb 2, 2023
@kx-Huang kx-Huang changed the title feat: enable self-chatting 最新的依然无法给实现给自己发 给自己发消息时候报错 Mar 6, 2023
@kx-Huang kx-Huang pinned this issue Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants