-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
404 Error from Azure API from version 7.3.0
#531
Comments
7.3.0
7.3.0
@alexrudall , thanks for your rapid response!
|
Thank you @ymtdzzz, v7.3.1 is now released and contains the fix. |
Thanks! This issue is fixed so I close it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
From the version
7.3.0
,Faraday::ResourceNotFound: the server responded with status 404
occurs when calling#embeddings
method to send a request to Azure.To Reproduce
Steps to reproduce the behavior:
#embeddings
I have confirmed that it works on the version
7.2.0
Expected behavior
No errors occurred
Screenshots
N/A
Desktop :
Possible solution
Maybe the following change might be the cause:
#527
ruby-openai/lib/openai/http.rb
Lines 21 to 26 in a5714d3
ruby-openai/lib/openai/http.rb
Lines 88 to 91 in a5714d3
If we use Azure,
req.params
already has theapi_key
param. So should we mergequery_params
instead of overwriting ?The text was updated successfully, but these errors were encountered: