From 9ec33ce320447dfba1674c629fa695c2a0951c90 Mon Sep 17 00:00:00 2001 From: snaily Date: Sat, 19 Jul 2025 09:31:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=BAAPI=5FKEYS=E5=92=8CALLOWED=5FTO?= =?UTF-8?q?KENS=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/config.py b/app/config/config.py index 21c4964..fd5aec6 100644 --- a/app/config/config.py +++ b/app/config/config.py @@ -51,8 +51,8 @@ class Settings(BaseSettings): return v # API相关配置 - API_KEYS: List[str] - ALLOWED_TOKENS: List[str] + API_KEYS: List[str]=[] + ALLOWED_TOKENS: List[str]=[] BASE_URL: str = f"https://generativelanguage.googleapis.com/{API_VERSION}" AUTH_TOKEN: str = "" MAX_FAILURES: int = 3