请求频繁触发429,请调大暂停时间: Error code: 429 - [{'error': {'code': 429, 'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits.', 'status': 'RESOURCE_EXHAUSTED'}}]:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 17, in run
File "videotrans\translator\__init__.py", line 865, in run
File "videotrans\translator\_base.py", line 81, in run
File "tenacity\__init__.py", line 480, in __call__
File "videotrans\translator\_gemini.py", line 60, in _item_task
File "openai\_utils\_utils.py", line 287, in wrapper
File "openai\resources\chat\completions\completions.py", line 1150, in create
File "openai\_base_client.py", line 1259, in post
File "openai\_base_client.py", line 1047, in request
openai.RateLimitError: Error code: 429 - [{'error': {'code': 429, 'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits.', 'status': 'RESOURCE_EXHAUSTED'}}]
=====
Windows-10-10.0.26100-SP0
version:v3.80
frozen:True
language:zh