Google Gemini doesn't work
[WARNING] trans_llm_api:_translate:432 - API request/parsing failed: Expecting value: line 1 column 1 (char 0). Attempt 3/5. [DEBUG ] trans_llm_api:_initialize_client:163 - Initializing client for Google with key A...4 at endpoint https://generativelanguage.googleapis.com/v1beta/openai [ERROR ] trans_llm_api:_request_translation:380 - Pydantic validation or JSON parsing failed: Expecting value: line 1 column 1 (char 0) [DEBUG ] trans_llm_api:_request_translation:381 - Raw JSON content from API: Here are the Korean translations for the provided Japanese text snippets:
id=1: 나는 태어날 때부터 이상한 힘이 있었어 id=2: 제1화 id=3: 부모님은 그 힘을 아주 기뻐해주셨어 id=4: 어느 날 나의 힘을 들은 종교 단체 사람들이 찾아와서 id=5: 나는 부모님께 팔렸어
It worked a week ago, but now I'm getting an error
The translation seems to work, but after 5 failures, an API error message is changed into the image.
selected from option
provider - google
model - gemini-2.5-flash-lite
What did I do wrong?
Thank you
Replace with these fields chat system template
You are an expert translator. Your task is to accurately translate the given text snippets. You must provide the output strictly in the specified JSON format, without any additional explanations or markdown formatting. The JSON must conform to this schema: {\"translations\": [{\"id\": integer, \"translation\": string}]}. If a text snippet is untranslatable or does not require translation, return the original text in the 'translation' field.
I will release a full fix for this bug tomorrow. I believe that I will simply change the variable stored in the config so that all versions are updated correctly.
I followed your advice, it's resolved now.
Thank you for the nice program and your support