-
Notifications
You must be signed in to change notification settings - Fork 1.5k
When using Japanese in AzureOpenAI, answers may not be displayed #649
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
Comments
When you say "The following code may return a blank answer." do you mean sometimes you'll get the answer and sometimes empty result? Can you run the sample with |
Thanks for your reply. |
Hi @sasaki000 I've attempted to reproduce the issue multiple times but have been unable to do so. I reviewed the logs and compared the request headers between the reported failed request and my successful reproduction. The only notable difference I found was in the maxTokens value — the customer's request had "maxTokens": -1, while mine used maxTokens: 300. It's possible that this was a transient issue, as I can no longer reproduce it on my end. Could you please retry and let me know if the issue persists? |
I checked again with version: 0.0.16 and this issue no longer reoccurs. |
Uh oh!
There was an error while loading. Please reload this page.
When using Azure LLM, if you specify Japanese in the prompt, the answer may not be displayed.
The version of OpenAI-agents is Version: 0.0.14.
This sometimes occurs when the prompt is set to Japanese. It does not occur when the prompt is set to English.
The debug log is attached below.
Could this be because the content from LLM is null? Why is it null?
The text was updated successfully, but these errors were encountered: