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

目前如何使用呢 #7

Open
linweiliang02 opened this issue Oct 28, 2023 · 0 comments
Open

目前如何使用呢 #7

linweiliang02 opened this issue Oct 28, 2023 · 0 comments

Comments

@linweiliang02
Copy link

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

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

1 participant