refactor: 将MAX_FAILURES配置移至settings并更新KeyManager以使用该配置

This commit is contained in:
yinpeng
2025-02-04 21:51:11 +08:00
parent 97e601a176
commit b465fd1598
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ class Settings(BaseSettings):
SHOW_SEARCH_LINK: bool = True
SHOW_THINKING_PROCESS: bool = True
AUTH_TOKEN: str = ""
MAX_FAILURES: int = 3
def __init__(self):
super().__init__()