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] 无法正常使用 Azure 的模型 #2463

Closed
alva-lin opened this issue May 12, 2024 · 9 comments · Fixed by #2465
Closed

[Bug] 无法正常使用 Azure 的模型 #2463

alva-lin opened this issue May 12, 2024 · 9 comments · Fixed by #2465
Assignees
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@alva-lin
Copy link

💻 Operating System

Windows

📦 Environment

Vercel / Zeabur / Sealos

🌐 Browser

Edge

🐛 Bug Description

使用 Azure 的模型,模型配置如下

模型ID: gpt-35-turbo-16k
模型部署名称: GPT-01-35-turbo-16k(对应 Azure 中的部署名称)
模型展示名称: Azure GPT-3.5 Turbo 16k

  1. 新增了 Azure 的模型后,点击检查,发送了正确的网络请求并收到正确响应,但是控制台报错。
  2. 回到聊天界面选择新增的模型,发送聊天后,发送了正确的网络请求并收到正确响应,但是控制台报错。

点击连通性检查后,发送的请求内容如下

https://yuheng-azure-openai-ea-us-05.openai.azure.com/openai/deployments/GPT-01-35-turbo-16k/chat/completions?api-version=2024-03-01-preview

{"stream":true,"max_tokens":2048,"temperature":0.6,"top_p":1,"presence_penalty":0,"frequency_penalty":0,"messages":[{"role":"user","content":"你好"}]}

响应如下

连通性检查-响应.txt

控制台报错如下

控制台报错

如果需要测试用的 APIKEY & URL,可以后续发邮件

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

@alva-lin alva-lin added the 🐛 Bug Something isn't working | 缺陷 label May 12, 2024
@lobehubbot
Copy link
Member

👀 @alva-lin

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

@arvinxx
Copy link
Contributor

arvinxx commented May 13, 2024

应该是个 bug 我修一下

@lobehubbot
Copy link
Member

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


It's probably a bug. Let me fix it.

@arvinxx arvinxx self-assigned this May 13, 2024
@arvinxx
Copy link
Contributor

arvinxx commented May 13, 2024

@alva-lin 根据你提供的响应修复了,#2465 等这个合并以后可以再试试看~

@lobehubbot
Copy link
Member

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


Fixed it based on the response you provided, #2465 You can try it again after this merge~

@lobehubbot
Copy link
Member

@alva-lin

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

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 0.157.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@alva-lin
Copy link
Author

现在可以了,非常感谢

@lobehubbot
Copy link
Member

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


It works now, thank you very much

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

Successfully merging a pull request may close this issue.

3 participants