-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Support for multilingual requests broken on openai==1.55.3 and httpx==0.28.0 #1921
Comments
Thanks for the report @ishaan-jaff, this sounds to me like an issue with |
yes, it is an issue with httpx (not necessarily with openai python) Is it possible that OpenAI python can add handling for this ? Since this used to work before we upgraded to |
I'm not sure if we can. Would you be able to open an issue with |
sure, I can make an issue there. Feel free to close this issue too |
hey @RobertCraigie is there a workaround we can implement to bump the httpx version and support multilingual requests? |
I haven't looked into this myself and I can't find @ishaan-jaff's issue on the httpx repo (did you open one @ishaan-jaff?). I would recommend opening an issue with httpx / asking them for guidance. You may be able to manually encode characters yourself with event hooks as a workaround. |
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Support for multilingual requests broken on openai==1.55.3 and httpx==0.28.0
We use
openai
for multi lingual requests that contain multilingual chars, this used to work on previous openai versionsas soon as we upgraded openai to 1.55.3 and httpx==0.28.0 we got the following error
To Reproduce
use
openai==1.55.3 and httpx==0.28.0
.Run the request
you'll see this error
(The error goes away when we use httpx==0.27.0 but it would be nice if openai python could handle this for us)
Code snippets
Traceback
OS
macOS
Python version
3.10
Library version
openai v0.27.0
The text was updated successfully, but these errors were encountered: