When attempting to translate some subtitles, the process results in an empty string instead of the translated text. PromptFeedback from Gemini response is empty so the translation in not blocked by safety filters, and only the "Gemini API returned empty response" exception is thrown without any hint at what's can be wrong.
For now I only encourage this behavior with subtitles for "Demon Slayer Kimetsu no Yaiba Infinity Castle".
When attempting to translate some subtitles, the process results in an empty string instead of the translated text. PromptFeedback from Gemini response is empty so the translation in not blocked by safety filters, and only the "Gemini API returned empty response" exception is thrown without any hint at what's can be wrong.
For now I only encourage this behavior with subtitles for "Demon Slayer Kimetsu no Yaiba Infinity Castle".