We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744a93a commit 07f2a0fCopy full SHA for 07f2a0f
1 file changed
astrbot/core/provider/sources/openai_source.py
@@ -685,9 +685,7 @@ async def _handle_api_error(
685
) -> tuple:
686
"""处理API错误并尝试恢复"""
687
if "429" in str(e):
688
- logger.warning(
689
- f"API 调用过于频繁,尝试使用其他 Key 重试。当前 Key: {chosen_key[:12]}",
690
- )
+ logger.warning("API 调用过于频繁,尝试使用其他 Key 重试")
691
if retry_cnt < max_retries - 1:
692
await asyncio.sleep(1)
693
if chosen_key in available_api_keys:
0 commit comments