-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
When large text input is provided (which splits into multiple batches), request->response.target.text is blank (from kotki.cpp)
This is because the translate function in kotki.cpp calls generateBatch and translateBatch only once. If the input text is large enough to create more segments than can fit in a single batch, the remaining segments are left in the BatchingPool and are never translated.
The final translated text is only constructed by the ResponseBuilder when all segments of a request have been processed. Since only a partial set of segments are translated, the condition to build the final response is never met, and request->response.target.text remains empty.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels