-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
CreateCompletionAsync sometime return an empty array #50
Comments
Hi @Morgan-6Freedom, yes if you reached the rate limit then OpenAI would let you know with an error message. Could you drop a debug log into this line here to see if it is what OpenAI produces (in that case i cannot really do much) or a bug in the functionality?
OpenAI-Unity/Runtime/OpenAIApi.cs Line 116 in fb8af0a |
Seems like Chat Completion receives results from OpenAI however Text Completion endpoint does not, I will have a look at it later in the evening. |
On what I have tested. Text Completion works for ~1min and then constantly sends me empty arrays. But work again later. |
Hello.
I use CreateCompletionAsync to use the streaming mode while completing texts.
However sometime the returned List is empty. Even if I try to resend the prompt.
Do you have an idea why ?
Maybe I reached Rate Limit ? But there is no error.
The text was updated successfully, but these errors were encountered: