-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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 OpenAI does not provide server-side option #2487
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
send from client? |
I can now see the request direct to the API endpoint in the broswer console, where CORS error is reported. |
I think the request is sent in server by default. It maybe some issue with it. @cy948 Could you please help to check it? |
Could you show me the request url? |
Could u please help us test whether the bug would produce on the fix preview? For security reason, please use a temporarily key to test. Fix detail in #2519 |
Azure OpenAI does not provide a temp key |
In the fix preview, the request is sent to the backend, which avoid CORS error. |
Cause the request sent from client will produce CORS error, we consider disable "client request" feature for azure provider. So it would not show the options to swich between client request and server request. |
I believe sending directly to original Azure endpoint (*.openai.azure.com) does not meed CORS error. I met CORS error because I was sending to Cloudflare AI Gateway. Are you sure about that? |
idk. So we decide to show the option for the "client request" feature in the preview and keep it disable at default. |
This issue is closed, If you have any questions, you can comment and reply. |
🎉 This issue has been resolved in version 0.160.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
💻 Operating System
Windows
📦 Environment
Vercel / Zeabur / Sealos
🌐 Browser
Edge
🐛 Bug Description
While OpenAI and Anthropic can send requests on server side, Azure OpenAI does not provide such option.
🚦 Expected Behavior
Provide "Send from server" option for Azure OpenAI
📷 Recurrence Steps
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: