lobehub/lobe-chat

[Bug] Connectivity Check Button doesn't work correctly #1427

jrr997 posted onGitHub

💻 Operating System

macOS

📦 Environment

Other

🌐 Browser

Chrome

🐛 Bug Description

在配置 Language Model(Azure OpenAI) 时有一个 Check 按钮,点击后会向 Azure OpenAI Proxy 发请求。我的配置(能在 Chat Page 中使用)是对的,但是 Check 总是返回失败。这似乎是 Check 功能没对 Azure 做适配。

🚦 Expected Behavior

配置正确,Check 应该通过。

📷 Recurrence Steps

  1. 配置 Azure Language Model。
  2. 点击 Check 按钮。

📝 Additional Information

按钮返回的错误信息如下。可以看到 endPoint 和 Azure 文档不符。

{
  "error": {
    "code": "DeploymentNotFound",
    "message": "The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again."
  },
  "provider": "openai",
  "endpoint": "https://xxx.openai.azure.com/openai/deployments/gpt-35-turbo"
}

解决方案: 把 gpt-35-turbo 换成用户配置的 Custom Model Name: https://xxx.openai.azure.com/openai/deployments/{Custom Model Name}


👀 @jrr997

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

posted by lobehubbot about 1 year ago

Even I'm facing the same issue.. Is it resolved?

posted by droner-D 11 months ago

✅ @jrr997

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

posted by lobehubbot 11 months ago

:tada: This issue has been resolved in version 0.147.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

posted by lobehubbot 11 months ago

Fund this Issue

$0.00
Funded

Pull requests