ConnectAI-E / Feishu-OpenAI-Stream-Chatbot

🎒 可以流式输出文本的飞书openai机器人 Feishu-OpenAI robot that can stream chat
https://www.connectai-e.com
GNU General Public License v3.0
146 stars 45 forks source link

GPT-4总是会超时 #16

Closed ConanoutlooklvTBS closed 1 year ago

ConanoutlooklvTBS commented 1 year ago

如下所示,每次响应时间超过60s,就会出现这个错误。看起来是飞书平台自己设定的超时时间?这个有办法重新设置吗? [GIN-debug] GET /ping --> main.main.func2 (3 handlers) [GIN-debug] POST /webhook/event --> github.com/larksuite/oapi-sdk-gin.NewEventHandlerFunc.func1 (3 handlers) [GIN-debug] POST /webhook/card --> github.com/larksuite/oapi-sdk-gin.NewCardActionHandlerFunc.func1 (3 handlers) 2023/05/26 14:56:39 http server started: http://localhost:9000/webhook/event [GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value. Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details. [GIN-debug] Listening and serving HTTP on :9000 c-6470c85c-773ab6f2a21143cdb6382023-05-26 22:57:18FC Invoke End RequestId: 1-6470c891-f2318b22792094d3a686e22e, Error: Invocation canceled by client (duration: 62936ms, maxMemoryUsage: 0.00MB)

ConanoutlooklvTBS commented 1 year ago

已解决,感谢 @wujianguo https://github.com/wujianguo/feishu-chatgpt-access