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

[Bug] 火山引擎服务商不可用(火山引擎已接入Deepseek-R1) #5744

Open
Guducat opened this issue Feb 4, 2025 · 4 comments
Open
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@Guducat
Copy link

Guducat commented Feb 4, 2025

📦 部署环境

Docker

📌 软件版本

1.49.9

💻 系统环境

Ubuntu

🌐 浏览器

Edge

🐛 问题描述

注:豆包大模型 已经更改为 火山引擎

Route: [doubao] ProviderBizError: {
  code: 'InvalidEndpoint.NotFound',
  message: 'The request targeted an endpoint that does not exist or is invalid. Request id: 0217386810167267496f828e4b55008dbcbc157f9db9cedd9fe0c',
  param: '',
  type: 'NotFound'
}
Route: [doubao] 500: Error: 404 status code (no body)
    at C.generate (.next/server/edge-chunks/994.js:4:1795)
    at sX.makeStatusError (.next/server/edge-chunks/994.js:4:14952)
    at sX.makeRequest (.next/server/edge-chunks/994.js:4:15892)
    at async Object.models (.next/server/edge-chunks/85.js:9:4648)
    at async (.next/server/app/(backend)/webapi/chat/models/[provider]/route.js:1:795)
    at async el.do (.next/server/edge-chunks/864.js:5:10390)
    at async el.handle (.next/server/edge-chunks/864.js:5:12601)
    at async eT.handler (.next/server/edge-chunks/864.js:6:33522)
    at async U (.next/server/edge-chunks/864.js:6:4255) {
  status: 404,
  headers: {
  content-length: '0',
  date: 'Tue, 04 Feb 2025 15:16:15 GMT',
  server: 'istio-envoy'
},
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}

📷 复现步骤

是我的误解还是这俩其实是一个东西?
此外,豆包大模型不支持使用客户端请求模式

🚦 期望结果

修复以上问题

📝 补充信息

No response

@Guducat Guducat added the 🐛 Bug Something isn't working | 缺陷 label Feb 4, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Feb 4, 2025
@lobehubbot
Copy link
Member

👀 @Guducat

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Feb 4, 2025

@Guducat 你好!我是Dosu,一个可以帮助你解决 bug、回答问题并成为一名贡献者的机器人。我会在人类维护者到来之前协助你解决问题。

The error message you're encountering, InvalidEndpoint.NotFound, suggests that the request is targeting an endpoint that does not exist or is invalid. This could be due to a misconfiguration or an incorrect endpoint URL being used for the '豆包' (Doubao) or '火山引擎' (Volcano Engine) service provider.

Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Verify Endpoint Configuration: Ensure that the endpoint URL for the '火山引擎' (Volcano Engine) is correctly configured in your application settings. Double-check any recent changes to ensure they are correctly implemented.

  2. Check Provider Integration: Since the '豆包' model has been changed to '火山引擎', make sure that the integration with Deepseek-R1 is correctly set up. This includes verifying any API keys, authentication methods, and endpoint URLs.

  3. Review Codebase for Provider Handling: The lobe-chat codebase differentiates between AI providers using specific classes. Ensure that the correct class (LobeFireworksAI for '火山引擎') is being used and that it is properly instantiated with the necessary parameters [1].

  4. Consult Documentation: If available, refer to any documentation provided by the '火山引擎' service for specific integration guidelines and troubleshooting tips.

  5. Logs and Debugging: Check the logs for any additional error messages or stack traces that might provide more context on the issue. This can help identify if the problem is with the request format, headers, or other parameters.

By following these steps, you should be able to identify and resolve the issue with the endpoint not being found.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@Guducat Guducat changed the title [Bug] 豆包(火山引擎)服务商不可用(火山引擎已接入Deepseek-R1) [Bug] 火山引擎服务商不可用(火山引擎已接入Deepseek-R1) Feb 4, 2025
@sxjeru
Copy link
Contributor

sxjeru commented Feb 4, 2025

豆包就是火山引擎,被包含关系。

目前 lobechat 的豆包还是半成品,只能编辑现有豆包模型的“模型部署名称”,
或者用环境变量 DOUBAO_MODEL_LIST=模型id->部署名=模型名称 添加模型,不支持 UI 界面的添加模型(加号+)。

火山引擎 CORS 限制,不支持客户端请求,这不是 lobechat 的问题。

可以等待 #5612 修复上述问题。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The bean bag is a volcanic engine, which is included.

At present, Lobechat's bean bag is still semi-finished product. You can only edit the "model deployment name" of the existing bean bag model, or use environment variables Doubao_model_list = Model ID-> Labor signature = Model Name Add Models (Plus No.+).

The volcanic engine CORS limit, does not support client requests, this is not a problem with Lobechat.

You can wait for #5612 to repair the above problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants