fix: deliver validated AI insight responses

This commit is contained in:
2026-08-22 15:47:38 +08:00
parent ca55c2fb3d
commit 3fba4261ee
68 changed files with 6870 additions and 493 deletions

View File

@@ -12,11 +12,17 @@ CURSOR_SECRET=replace-with-a-different-32-character-secret
FRONTEND_ORIGIN=http://127.0.0.1:5173
COOKIE_SECURE=false
AI_GROWTH_ENABLED=false
AI_COACH_ENABLED=false
AI_PAGE_INSIGHTS_ENABLED=false
AVALAI_API_KEY=
AVALAI_BASE_URL=https://api.avalai.ir
AVALAI_MODEL=gpt-5-mini-2025-08-07
AI_DAILY_REQUEST_BUDGET=0
AI_DAILY_TOKEN_BUDGET=0
AI_COACH_DAILY_REQUEST_BUDGET=0
AI_COACH_DAILY_TOKEN_BUDGET=0
AI_PAGE_INSIGHTS_DAILY_REQUEST_BUDGET=0
AI_PAGE_INSIGHTS_DAILY_TOKEN_BUDGET=0
AI_MAX_CONCURRENT=4
AI_CREATE_PER_MINUTE=10
AI_UNCACHED_SCOPES_PER_DAY=5