You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023/10/28 18:58:13 hadler Received msg : 你好
2023/10/28 18:58:15 Received User Meeee Text Msg : 你好
panic: Post "https://api.openai.com/v1/chat/completions": proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.
2023/10/28 18:58:13 hadler Received msg : 你好
2023/10/28 18:58:15 Received User Meeee Text Msg : 你好
panic: Post "https://api.openai.com/v1/chat/completions": proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.
goroutine 11 [running]:
github.com/poorjobless/wechatbot/chatgpt.Completions({0xc0002b69c6, 0x9}, {0xc000433040, 0x6})
D:/10-28/wechatbot-main/chatgpt/chatgpt.go:31 +0x325
github.com/poorjobless/wechatbot/handlers.(*UserMessageHandler).ReplyText(0xc000237db0?, 0xc000208500)
D:/10-28/wechatbot-main/handlers/user_msg_handler.go:46 +0x1bd
github.com/poorjobless/wechatbot/handlers.(*UserMessageHandler).handle(0x4eeea0?, 0xc00009b410?)
D:/10-28/wechatbot-main/handlers/user_msg_handler.go:21 +0x25
github.com/poorjobless/wechatbot/handlers.Handler(0xc000208500)
D:/10-28/wechatbot-main/handlers/handler.go:54 +0x282
github.com/eatmoreapple/openwechat.(*Bot).syncCheck(0xc0000ec1c0)
C:/Users/linweiliang02/go/pkg/mod/github.com/eatmoreapple/[email protected]/bot.go:269 +0x227
github.com/eatmoreapple/openwechat.(*Bot).WebInit.func1()
C:/Users/linweiliang02/go/pkg/mod/github.com/eatmoreapple/[email protected]/bot.go:190 +0x79
created by github.com/eatmoreapple/openwechat.(*Bot).WebInit in goroutine 1
C:/Users/linweiliang02/go/pkg/mod/github.com/eatmoreapple/[email protected]/bot.go:185 +0x276
The text was updated successfully, but these errors were encountered: