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] cannot find correct deployment #5158

Closed
tfbubu111 opened this issue Aug 1, 2024 · 9 comments
Closed

[Bug] cannot find correct deployment #5158

tfbubu111 opened this issue Aug 1, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@tfbubu111
Copy link

tfbubu111 commented Aug 1, 2024

📦 部署方式

Docker

📌 软件版本

2.14

💻 系统环境

Windows

📌 系统版本

all

🌐 浏览器

Edge

📌 浏览器版本

unknown

🐛 问题描述

when connect azure openAI deployment, nextWeb connects to https://0530ai.openai.azure.com/openai/deployments/gpt-3.5-turbo,
not my deployment which name is GPT-4.

azure endpoint: https://0530ai.openai.azure.com/openai

chat will return error:
{
"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."
}
}

image
image

📷 复现步骤

No response

🚦 期望结果

please help understand if anything wrong in my settings

📝 补充信息

also I tried to change the image version from 2.14 to 2.13.1, but still same issue

@tfbubu111 tfbubu111 added the bug Something isn't working label Aug 1, 2024
@Issues-translate-bot
Copy link

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


Title: [Bug] cannot find correct deployment

@johnsonperl
Copy link

我也遇到了这个问题

@Issues-translate-bot
Copy link

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


I also encountered this problem

@lloydzhou
Copy link
Member

这个issue #5001 以及readme中有说明,当使用azure的时候,deploy_name就等同于 display_name

@Issues-translate-bot

This comment was marked as duplicate.

@tfbubu111
Copy link
Author

@lloydzhou

用法这一块我这里设置的没问题:
customer models
gpt-4o@azure=GPT-4

然后我自己的deployment 名字是GPT-4
image

@Issues-translate-bot
Copy link

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


@lloydzhou

I have no problem setting up the usage here:
customer models
gpt-4o@azure=GPT-4

Then my own deployment name is GPT-4
image

@tfbubu111
Copy link
Author

问题在我又重新用docker镜像yidadaa/chatgpt-next-web部署以后消失了, tag默认latest。

@Issues-translate-bot
Copy link

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


The problem disappeared after I deployed it again using the docker image yidadaa/chatgpt-next-web, and the tag defaulted to latest.

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
None yet
Development

No branches or pull requests

4 participants