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] v2.15.1版本部署后azure的api使用有问题 #5687

Open
Web3KeyTalking opened this issue Oct 19, 2024 · 8 comments
Open

[Bug] v2.15.1版本部署后azure的api使用有问题 #5687

Web3KeyTalking opened this issue Oct 19, 2024 · 8 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@Web3KeyTalking
Copy link

📦 部署方式

Vercel

📌 软件版本

v2.5.1

💻 系统环境

Other

📌 系统版本

github vercel

🌐 浏览器

Chrome

📌 浏览器版本

129.0.6668.90

🐛 问题描述

v2.15.1版本部署后azure的api使用有问题

📷 复现步骤

用docker和vercel部署v2.15.1后,azure的openai都无法使用;部署v2.12.4可以正常使用azure的openai

🚦 期望结果

希望用docker和vercel部署v2.15.1后,azure的openai可以正常使用;和部署v2.12.4可以正常使用一样

📝 补充信息

@Web3KeyTalking Web3KeyTalking added the bug Something isn't working label Oct 19, 2024
@Issues-translate-bot
Copy link

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


Title: [Bug] There is a problem with the use of azure api after v2.15.1 version is deployed

@Dogtiti
Copy link
Member

Dogtiti commented Oct 20, 2024

有问题的话补充一下详细问题信息

@Dogtiti Dogtiti added the invalid This doesn't seem right label Oct 20, 2024
@Issues-translate-bot
Copy link

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


If you have any questions, please add detailed information.

@Web3KeyTalking
Copy link
Author

{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
在v2.15.5版本上用azure的openai的key配置后提示如上错误,在2.12.4版本上可以正常使用

@lloydzhou
Copy link
Contributor

@Web3KeyTalking

你提供的错误信息似乎提示的是:请求实际发给了openai,而不是azure

@Issues-translate-bot
Copy link

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


@Web3KeyTalking

The error message you provided seems to indicate that the request was actually sent to OpenAI, not Azure.

@yuejunpeng
Copy link

我遇到了相同的问题。难道现在的版本已经不支持Azure了吗

@Issues-translate-bot
Copy link

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


I encountered the same problem. Does the current version no longer support Azure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

5 participants