Automatic robot chat mode has been activated
(node:41132) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use node --trace-warnings ... to show where the warning was created)
ChatGPTError: ChatGPT failed to refresh auth token. Error: 403 Forbidden
at ChatGPTAPI.refreshAccessToken (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/node_modules/chatgpt/build/index.js:313:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ChatGPTAPI.ensureAuth (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/node_modules/chatgpt/build/index.js:258:12)
at async getChatGPTReply (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/src/chatgpt/index.js:14:3)
at async defaultMessage (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/src/wechaty/sendMessage.js:38:27)
at async WechatyImpl.onMessage (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/src/wechaty/index.js:47:3) {
response: Response {
Automatic robot chat mode has been activated (node:41132) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time (Use
node --trace-warnings ...
to show where the warning was created) ChatGPTError: ChatGPT failed to refresh auth token. Error: 403 Forbidden at ChatGPTAPI.refreshAccessToken (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/node_modules/chatgpt/build/index.js:313:21) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ChatGPTAPI.ensureAuth (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/node_modules/chatgpt/build/index.js:258:12) at async getChatGPTReply (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/src/chatgpt/index.js:14:3) at async defaultMessage (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/src/wechaty/sendMessage.js:38:27) at async WechatyImpl.onMessage (file:///Users/xxxx/Documents/work/chatGPT/wechat-bot/src/wechaty/index.js:47:3) { response: Response {}, statusCode: 403, statusText: 'Forbidden', originalError: ChatGPTError: 403 Forbidden