sunner / ChatALL

Concurrently chat with ChatGPT, Bing Chat, Bard, Alpaca, Vicuna, Claude, ChatGLM, MOSS, 讯飞星火, 文心一言 and more, discover the best answers
http://chatall.ai
Apache License 2.0
14.46k stars 1.56k forks source link

[BUG]一旦一次提问卡住了,没有超时,永久在等待中。或者可加一个stop的按钮 #834

Open maston2 opened 3 weeks ago

maston2 commented 3 weeks ago

Describe the bug / 描述问题

之前有一个请求卡住了,不会自动超时,也不能手工点击停止,除非关闭软件,否则会后面对该模型的访问都会卡住。

To Reproduce / 复现步骤

其次提问卡住后,随机发生

Expected behavior / 期望行为

正常超时或有stop按钮

Screenshots / 截图

image

Devtools Info / 开发者工具信息

VTextarea.tsx:167 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: app://./fonts/materialdesignicons-webfont.fbaef2a9.woff2 569Third-party cookie will be blocked. Learn more in the Issues tab. chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

gemini.google.com/app:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

kimi.moonshot.cn/api/chat:1

   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1

   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1

   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1

   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1

   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1

   Failed to load resource: the server responded with a status of 401 ()

17index.js:1 doing fixed mapping App.vue:211 chat changed 19index.js:1 doing fixed mapping App.vue:211 chat changed 19index.js:1 doing fixed mapping App.vue:211 chat changed 19index.js:1 doing fixed mapping chatglm.cn/chatglm/backend-api/assistant/stream:1

   Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

App.vue:211 chat changed 29index.js:1 doing fixed mapping App.vue:211 chat changed 36index.js:1 doing fixed mapping App.vue:211 chat changed 34index.js:1 doing fixed mapping App.vue:211 chat changed 29index.js:1 doing fixed mapping App.vue:211 chat changed 29index.js:1 doing fixed mapping App.vue:211 chat changed 64index.js:1 doing fixed mapping App.vue:211 chat changed 19index.js:1 doing fixed mapping App.vue:211 chat changed 28index.js:1 doing fixed mapping CommonBotSettings.vue:141 openaiApi: {"apiKey":"","temperature":1,"pastRounds":5,"alterUrl":"https://api.chatanywhere.tech"} runtime-core.esm-bundler.js:270 Error: OpenAI or Azure OpenAI API key not found at new kr (chat_models.js:338:19) at P._setupModel (OpenAIAPIBot.js:24:23) at P.setupModel (LangChainBot.js:68:40) at OpenAIAPIBotSettings.vue:68:27 at Array.map () at Proxy.watcher (OpenAIAPIBotSettings.vue:68:10) at CommonBotSettings.vue:142:13 at m (runtime-core.esm-bundler.js:195:19) at g (runtime-core.esm-bundler.js:202:17) at w (runtime-core.esm-bundler.js:1955:9) v @ runtime-core.esm-bundler.js:270 显示另外 1 个框架 收起 CommonBotSettings.vue:141 openaiApi: {"apiKey":"sk-kfcbkFsytemHvLnGDJmjC4SkbTiAB0k7FgDZt977m4ysjeWD","temperature":1,"pastRounds":5,"alterUrl":"https://api.chatanywhere.tech"} 8index.js:1 doing fixed mapping App.vue:211 chat changed 17index.js:1 doing fixed mapping App.vue:211 chat changed 27index.js:1 doing fixed mapping App.vue:211 chat changed 27index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 19index.js:1 doing fixed mapping api.chatanywhere.tech/chat/completions:1

   Failed to load resource: the server responded with a status of 403 ()

Bot.js:204 Error send prompt to gpt-3.5-turbo@OpenAI API: Error: 403 免费API限制模型输入token小于4096,如有更多需求,请访问 https://buyca.shop 购买付费API。The number of prompt tokens for free accounts is limited to 4096. If you have additional requirements, please visit https://buyca.shop to purchase a premium key. at S.generate (error.mjs:46:20) at Hn.makeStatusError (core.mjs:256:25) at Hn.makeRequest (core.mjs:299:30) at async chat_models.js:646:23 at async t._fn (index.js:50:4) sendPrompt @ Bot.js:204 App.vue:211 chat changed 27index.js:1 doing fixed mapping geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1 Error at gud (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:96332) at f (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:26511) at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:29014 at new Promise () at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:28961 at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:27028 at s (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:25135) at Object.next (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:23920) at r (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:22608) gud @ geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1 ProxySetting.vue:289 Set(13) ProxySetting.vue:290 Proxy(Array) ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com ProxySetting.vue:289 Set(13) ProxySetting.vue:290 Proxy(Array) ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com 18index.js:1 doing fixed mapping ProxySetting.vue:289 Set(13) ProxySetting.vue:290 Proxy(Array) ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com ChatGPTBot.js:52 Error checking ChatGPT login status: se _checkAvailability @ ChatGPTBot.js:52 chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ChatGPTBot.js:52 Error checking ChatGPT login status: se _checkAvailability @ ChatGPTBot.js:52 chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ProxySetting.vue:289 Set(13) ProxySetting.vue:290 Proxy(Array) ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com ChatGPTBot.js:52 Error checking ChatGPT login status: se _checkAvailability @ ChatGPTBot.js:52 chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ProxySetting.vue:289 Set(13) ProxySetting.vue:290 Proxy(Array) ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com 30index.js:1 doing fixed mapping App.vue:211 chat changed 17index.js:1 doing fixed mapping App.vue:211 chat changed 37index.js:1 doing fixed mapping matomo.chatall.ai//matomo.php?link=https%3A%2F%2Fchat.openai.com%2F&idsite=1&rec=1&r=456112&h=18&m=8&s=1&url=app%3A%2F%2F.%2Findex.html&uid=0c597c35-2a93-4f14-b61d-6559b0d27e07&_id=&_idn=1&send_image=0&_refts=0&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=2560x1440&_cvar=%7B%221%22%3A%5B%22AppVersion%22%2C%221.78.104%22%5D%7D&pv_id=GfSWk9&uadata=%7B%22brands%22%3A%5B%7B%22brand%22%3A%22Not-A.Brand%22%2C%22version%22%3A%2299%22%7D%2C%7B%22brand%22%3A%22Chromium%22%2C%22version%22%3A%22124%22%7D%5D%2C%22platform%22%3A%22Windows%22%7D:1

   Failed to load resource: net::ERR_PROXY_CONNECTION_FAILED

8index.js:1 doing fixed mapping ChatGPTBot.js:52 Error checking ChatGPT login status: se _checkAvailability @ ChatGPTBot.js:52 chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ChatGPTBot.js:52 Error checking ChatGPT login status: se _checkAvailability @ ChatGPTBot.js:52 chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

5index.js:1 doing fixed mapping App.vue:211 chat changed 28index.js:1 doing fixed mapping App.vue:211 chat changed 27index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping App.vue:211 chat changed 18index.js:1 doing fixed mapping geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1 Error at gud (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:96332) at f (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:26511) at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:29014 at new Promise () at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:28961 at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:27028 at s (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:25135) at Object.next (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:23920) at r (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:22608) gud @ geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1 App.vue:211 chat changed 20index.js:1 doing fixed mapping ChatGPTBot.js:52 Error checking ChatGPT login status: se _checkAvailability @ ChatGPTBot.js:52 chat.openai.com/api/auth/session:1

   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

2index.js:1 doing fixed mapping 2index.js:1 doing fixed mapping 6index.js:1 doing fixed mapping 2index.js:1 doing fixed mapping

OS and version / 操作系统版本

Win11

ChatALL version / ChatALL 版本

V1.78.104

Network / 网络

Additional context / 其它相关信息

No response

maston2 commented 1 week ago

并没人理啊……