This commit is contained in:
Windpicker-owo
2025-10-06 01:07:08 +08:00
102 changed files with 2825 additions and 989 deletions

View File

@@ -227,7 +227,7 @@ class _ModelSelector:
penalty_increment = self.DEFAULT_PENALTY_INCREMENT
# 对严重错误施加更高的惩罚,以便快速将问题模型移出候选池
if isinstance(e, (NetworkConnectionError, ReqAbortException)):
if isinstance(e, NetworkConnectionError | ReqAbortException):
# 网络连接错误或请求被中断,通常是基础设施问题,应重罚
penalty_increment = self.CRITICAL_PENALTY_MULTIPLIER
logger.warning(