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

免费的gpt是用不了的么;讯飞设置无效 #209

Open
CoolCaicaixian opened this issue Aug 21, 2024 · 4 comments
Open

免费的gpt是用不了的么;讯飞设置无效 #209

CoolCaicaixian opened this issue Aug 21, 2024 · 4 comments

Comments

@CoolCaicaixian
Copy link

CoolCaicaixian commented Aug 21, 2024

❌ uncaughtException 捕获到未处理的异常: TypeError: Cannot read properties of undefined (reading 'choices') at WebSocket.<anonymous> (file:///Users/cwx/work/codes/gitCodes/github/wechat-bot/src/xunfei/xunfei.js:93:33) at callListener (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/event-target.js:290:14) at WebSocket.onMessage (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/event-target.js:209:9) at WebSocket.emit (node:events:520:28) at Receiver.receiverOnMessage (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/websocket.js:1220:20) at Receiver.emit (node:events:520:28) at Receiver.dataMessage (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:596:14) at Receiver.getData (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:496:10) at Receiver.startLoop (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:167:16) at Receiver._write (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:94:10) uncaughtException TypeError: Cannot read properties of undefined (reading 'choices') at WebSocket.<anonymous> (file:///Users/cwx/work/codes/gitCodes/github/wechat-bot/src/xunfei/xunfei.js:93:33) at callListener (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/event-target.js:290:14) at WebSocket.onMessage (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/event-target.js:209:9) at WebSocket.emit (node:events:520:28) at Receiver.receiverOnMessage (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/websocket.js:1220:20) at Receiver.emit (node:events:520:28) at Receiver.dataMessage (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:596:14) at Receiver.getData (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:496:10) at Receiver.startLoop (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:167:16) at Receiver._write (/Users/cwx/work/codes/gitCodes/github/wechat-bot/node_modules/ws/lib/receiver.js:94:10)

@CoolCaicaixian
Copy link
Author

讯飞使用不了

@wangrongding
Copy link
Owner

仔细看README文档

@CoolCaicaixian
Copy link
Author

CoolCaicaixian commented Aug 22, 2024

仔细看README文档
是我使用了讯飞的新模型,您的代码不支持,可以参看这个issues:
#193 (comment)

@fsh2102
Copy link

fsh2102 commented Sep 27, 2024

解决了吗,我看了解决方案也没解决

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

3 participants