优化鉴权系统

This commit is contained in:
2026-07-03 21:54:19 +08:00
parent 7e65fadd83
commit 98a92b83fa
11 changed files with 539 additions and 149 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ DEEPSEEK_BASE_URL=https://api.deepseek.com
DEEPSEEK_MODEL=deepseek-v4-flash
DEFAULT_SYSTEM_PROMPT=You are a helpful assistant.
CHAT_DATA_DIR=data
API_KEY_WHITELIST={"11111111-1111-4111-8111-111111111111":"replace-with-a-secret-key"}
USER_DB_PATH=data/users.db
MAX_TOOL_ROUNDS=5
MAX_TOOL_CALLS_PER_TURN=10
TOOL_TIMEOUT_SECONDS=5
TOOL_TIMEOUT_SECONDS=5