NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] 更新docker 镜像 v2.12.3 之后。新的模型不能使用,显示 400 Bad Request

Open Fei2015 opened this issue 1 year ago • 11 comments

Bug Description

从docker 镜像 v2.11.2 升级到 v2.12.3 之后新的模型 gpt-4-turbo, gpt-4o, ... 不能使用 { "code": 400, "error": "Encountering an error when receiving the github copilot response: 400 Bad Request" }

Steps to Reproduce

...

Expected Behavior

...

Screenshots

No response

Deployment Method

  • [ ] Docker
  • [ ] Vercel
  • [ ] Server

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

Fei2015 avatar May 20 '24 02:05 Fei2015

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] After updating docker image v2.12.3. The new model cannot be used and displays 400 Bad Request.

Issues-translate-bot avatar May 20 '24 02:05 Issues-translate-bot

请问有应用报错截图,接口报错截图么?我想这可能和Copilot Chat有关

Dean-YZG avatar May 20 '24 03:05 Dean-YZG

Bot detected the issue body's language is not English, translate it automatically.


Do you have any screenshots of application error and interface error? I think this might have something to do with Copilot Chat

Issues-translate-bot avatar May 20 '24 03:05 Issues-translate-bot

我就是更新后,在对话页面 http://localhost:3000/#/ 不管输入什么,都显示: { "code": 400, "error": "Encountering an error when receiving the github copilot response: 400 Bad Request" } 你说的应用报错或者接口报错 在哪里看?

Fei2015 avatar May 20 '24 04:05 Fei2015

为什么会是报github copilot response的错误,用了 copilot 转 api ?

QAbot-zh avatar May 20 '24 07:05 QAbot-zh

为什么会是报github copilot response的错误,用了 copilot 转 api ?

对的,用了copilot-gpt4-service

Fei2015 avatar May 20 '24 07:05 Fei2015

Bot detected the issue body's language is not English, translate it automatically.


Why is the error of github copilot response reported when using copilot to convert to api?

Yes, used copilot-gpt4-service

Issues-translate-bot avatar May 20 '24 07:05 Issues-translate-bot

那可能是copilot-gpt4-service的问题,copilot应该没有第一时间提供gpt-4o模型吧,我记得这种转api服务很多模型都是重定向了,毕竟copilot本身就没有提供多少模型

QAbot-zh avatar May 20 '24 07:05 QAbot-zh

Bot detected the issue body's language is not English, translate it automatically.


That may be a problem with copilot-gpt4-service. Copilot probably didn't provide gpt-4o models at the first time. I remember that many models of this API service are redirected. After all, copilot itself doesn't provide many models.

Issues-translate-bot avatar May 20 '24 07:05 Issues-translate-bot

那可能是copilot-gpt4-service的问题,copilot应该没有第一时间提供gpt-4o模型吧,我记得这种转api服务很多模型都是重定向了,毕竟copilot本身就没有提供多少模型

原来是这样,好的谢谢

Fei2015 avatar May 20 '24 07:05 Fei2015

Bot detected the issue body's language is not English, translate it automatically.


That may be a problem with copilot-gpt4-service. Copilot probably did not provide gpt-4o models at the first time. I remember that many models of this API service are redirected. After all, copilot itself does not provide many models.

That's it, okay thank you

Issues-translate-bot avatar May 20 '24 07:05 Issues-translate-bot