ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
75.29k stars 58.87k forks source link

[Bug] cannot find correct deployment #5158

Closed tfbubu111 closed 1 month ago

tfbubu111 commented 1 month ago

📦 部署方式

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

Issues-translate-bot commented 1 month ago

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


Title: [Bug] cannot find correct deployment

johnsonperl commented 1 month ago

我也遇到了这个问题

Issues-translate-bot commented 1 month ago

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


I also encountered this problem

lloydzhou commented 1 month ago

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

Issues-translate-bot commented 1 month ago

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


This issue #5001 and the readme explain that when using azure, deploy_name is equivalent to display_name

tfbubu111 commented 1 month ago

@lloydzhou

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

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

Issues-translate-bot commented 1 month ago

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 commented 1 month ago

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

Issues-translate-bot commented 1 month ago

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.