HIllya51 / LunaTranslator

Galgame翻译器,支持HOOK、OCR、剪贴板等。Visual Novel Translator , support HOOK / OCR / clipboard
http://docs.lunatranslator.org/
GNU General Public License v3.0
4.88k stars 248 forks source link

Implementation to fix error 429 in google gemini translation #1090

Closed erickbcr7 closed 1 month ago

erickbcr7 commented 1 month ago

Expected behavior 预期的功能

image Even if I change the translation request interval, that error still appears even though I am not exceeding the API quota.

Alternative behavior (optional) 近似的功能(可选)

No response

HIllya51 commented 1 month ago

what is your settings

erickbcr7 commented 1 month ago

image The only thing that changes is the translation request interval, for example I leave it at 3 seconds after approximately 7 translations the error appears and no matter how much I increase the translation request interval it continues to appear

HIllya51 commented 1 month ago

gemini free is 15 rpm