-
Notifications
You must be signed in to change notification settings - Fork 25
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
Is total request body size limit handled? #22
Comments
Hi @funex Pelican George, thanks for the question, sorry that this reply is so delayed. No, this .NET client library does not split the text automatically. |
Reopened to check whether it does make sense to implement this. |
Would be great to add this feature since the request body max size is 1024 bytes. With the current version it's not possible to inspect the request body to decide if the texts to translate should be split in multiple requests. It is of course possible to get the byte count of the texts before translating, but the byte count won't be precise, in relation to the body size. |
Hey @funex , we are looking at a way to support very large requests, but can't give any timeline or make any promises at the moment. |
Hey @JanEbbing , is there any update on this? |
According to the API documentation:
"The total request body size must not exceed 128 KiB (128 · 1024 bytes). Please split up your text into multiple calls if it exceeds this limit."
Is this handled currently?
The text was updated successfully, but these errors were encountered: