Commit 3f8a636f authored by tongzifang's avatar tongzifang

feat: increase DEEP_TIMEOUT to 600 seconds

Updates the default `DEEP_TIMEOUT` value from 300 to 600 seconds in `ai_review/config.py` to allow more time for deep review processing.
parent c224a250
......@@ -14,7 +14,7 @@ MAX_DIFF_LINES = int(os.environ.get("AI_REVIEW_MAX_DIFF_LINES", "2000"))
STANDARD_MAX_TOKENS = int(os.environ.get("AI_REVIEW_STANDARD_MAX_TOKENS", "4096"))
DEEP_MAX_TOKENS = int(os.environ.get("AI_REVIEW_DEEP_MAX_TOKENS", "8192"))
STANDARD_TIMEOUT = int(os.environ.get("AI_REVIEW_STANDARD_TIMEOUT", "180"))
DEEP_TIMEOUT = int(os.environ.get("AI_REVIEW_DEEP_TIMEOUT", "300"))
DEEP_TIMEOUT = int(os.environ.get("AI_REVIEW_DEEP_TIMEOUT", "600"))
# ─── 平台预设(android / ios / frontend,留空或其他值则使用通用配置) ───
PLATFORM = os.environ.get("AI_REVIEW_PLATFORM", "").strip().lower()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment