{"repo": "angqy93/lablabai", "files": {"backend/.env.example": {"ecc424f13c1df20d2bc720b8c5addc94ff99f037": {"t": 1785746766.4509208, "n": 3945, "h": "e764e3d3952e836f", "c": "# ConstraintAlpha — backend environment variables\n# Copy this file to .env and fill in real values. Never commit .env.\n\n# ---------------------------------------------------------------------------\n# Bright Data — scraping (SERP API + Scraping Browser)\n# ---------------------------------------------------------------------------\n# Get from https://brightdata.com/cp/api-keys\nBRIGHT_DATA_API_KEY=\n\n# SERP zone name from your Bright Data dashboard (default: serp_api1)\nBRIGHT_DATA_SERP_ZONE=serp_api1\n\n# Scraping Browser CDP WebSocket URL — looks like:\n# wss://brd-customer-hl_xxx-zone-scraping_browser1:password@brd.superproxy.io:9222\nBRIGHT_DATA_BROWSER_WSS=\n\n# ---------------------------------------------------------------------------\n# Azure OpenAI / Azure AI Foundry — LLM (via litellm wrapper inside Google ADK)\n# ---------------------------------------------------------------------------\n# Azure resource API key (same key works across deployments on one resource)\nAZURE_API_KEY=\n\n# M8 (v0.10): point at the Azure AI Foundry OpenAI-compatible v1 endpoint\n# (the /openai/v1 path). app/agents/agent.py auto-detects \"/openai/v1\" and\n# switches litellm to the openai/ prefix instead of azure/. For the classic\n# Azure OpenAI per-resource URL (https://.openai.azure.com/), the\n# azure/ prefix is used automatically and AZURE_API_VERSION is honoured.\nAZURE_API_BASE=https://friend-api.services.ai.azure.com/openai/v1\n\n# Used only when AZURE_API_BASE points at a classic Azure OpenAI endpoint.\n# Ignored by the OpenAI-compatible v1 path.\nAZURE_API_VERSION=2024-12-01-preview\n\n# Deployment name in your Azure resource. Default: gpt-5.4-mini (425K TPM,\n# 425 RPM — enough headroom for parallel analyst phase). DeepSeek-V4-Pro\n# also works but its deployment is capped at 20K TPM and will throttle.\nAZURE_DEPLOYMENT_NAME=gpt-5.4-mini\n\n# ---------------------------------------------------------------------------\n# AI/ML API — primary LLM provider for the 7-agent pipeline\n# ---------------------------------------------------------------------------\n# Unified OpenAI-compatible endpoint that routes each agent to a model\n# best fit for its job. When AIML_API_KEY is set the agents prefer this\n# provider; when empty they fall back to Azure OpenAI above. Sign up at\n# https://aimlapi.com/ and copy the API key from the dashboard.\nAIML_API_KEY=\nAIML_API_BASE=https://api.aimlapi.com/v1\n\n# Per-agent model overrides. Capability-justified mix verified on\n# AI/ML API 2026-05-30. Leave blank to fall back to AIML_MODEL_DEFAULT.\nAIML_MODEL_DEFAULT=gpt-4o-mini\nAIML_MODEL_ECOSYSTEM=claude-sonnet-4-5\nAIML_MODEL_ANALYST=gemini-2.5-flash\nAIML_MODEL_FOLLOWUP=claude-haiku-4-5\nAIML_MODEL_COORDINATOR=claude-sonnet-4-5\nAIML_MODEL_VERIFICATION=deepseek-reasoner\nAIML_MODEL_PROPAGATION=gpt-4o\nAIML_MODEL_NARRATIVE=claude-haiku-4-5\n\n# ---------------------------------------------------------------------------\n# Database — Neon Postgres (serverless)\n# ---------------------------------------------------------------------------\n# Connection string from https://console.neon.tech/ → your project → Connection Details.\n# Use the \"pooled\" connection for async drivers.\n# Format: postgresql+asyncpg://USER:PASSWORD@HOST/DBNAME?sslmode=require\nDATABASE_URL=\n\n# ---------------------------------------------------------------------------\n# CORS — frontend origin allowed to call the API\n# ---------------------------------------------------------------------------\n# Comma-separated list of allowed origins. Default covers Next.js dev server.\nCORS_ORIGINS=http://localhost:3000\n\n# ---------------------------------------------------------------------------\n# Admin token — used by the platform cron to trigger scheduled scans.\n# X-Admin-Token header on POST /api/admin/scan/{primary}.\n# Default is the dev fallback; override in real deployments.\n# ---------------------------------------------------------------------------\nADMIN_TOKEN=dev-admin-token\n"}, "5531d70d634d069be82f5a390fd93d1acccce62c": {"t": 1785767592.9020605, "n": 3945, "h": "e764e3d3952e836f", "c": "# ConstraintAlpha — backend environment variables\n# Copy this file to .env and fill in real values. Never commit .env.\n\n# ---------------------------------------------------------------------------\n# Bright Data — scraping (SERP API + Scraping Browser)\n# ---------------------------------------------------------------------------\n# Get from https://brightdata.com/cp/api-keys\nBRIGHT_DATA_API_KEY=\n\n# SERP zone name from your Bright Data dashboard (default: serp_api1)\nBRIGHT_DATA_SERP_ZONE=serp_api1\n\n# Scraping Browser CDP WebSocket URL — looks like:\n# wss://brd-customer-hl_xxx-zone-scraping_browser1:password@brd.superproxy.io:9222\nBRIGHT_DATA_BROWSER_WSS=\n\n# ---------------------------------------------------------------------------\n# Azure OpenAI / Azure AI Foundry — LLM (via litellm wrapper inside Google ADK)\n# ---------------------------------------------------------------------------\n# Azure resource API key (same key works across deployments on one resource)\nAZURE_API_KEY=\n\n# M8 (v0.10): point at the Azure AI Foundry OpenAI-compatible v1 endpoint\n# (the /openai/v1 path). app/agents/agent.py auto-detects \"/openai/v1\" and\n# switches litellm to the openai/ prefix instead of azure/. For the classic\n# Azure OpenAI per-resource URL (https://.openai.azure.com/), the\n# azure/ prefix is used automatically and AZURE_API_VERSION is honoured.\nAZURE_API_BASE=https://friend-api.services.ai.azure.com/openai/v1\n\n# Used only when AZURE_API_BASE points at a classic Azure OpenAI endpoint.\n# Ignored by the OpenAI-compatible v1 path.\nAZURE_API_VERSION=2024-12-01-preview\n\n# Deployment name in your Azure resource. Default: gpt-5.4-mini (425K TPM,\n# 425 RPM — enough headroom for parallel analyst phase). DeepSeek-V4-Pro\n# also works but its deployment is capped at 20K TPM and will throttle.\nAZURE_DEPLOYMENT_NAME=gpt-5.4-mini\n\n# ---------------------------------------------------------------------------\n# AI/ML API — primary LLM provider for the 7-agent pipeline\n# ---------------------------------------------------------------------------\n# Unified OpenAI-compatible endpoint that routes each agent to a model\n# best fit for its job. When AIML_API_KEY is set the agents prefer this\n# provider; when empty they fall back to Azure OpenAI above. Sign up at\n# https://aimlapi.com/ and copy the API key from the dashboard.\nAIML_API_KEY=\nAIML_API_BASE=https://api.aimlapi.com/v1\n\n# Per-agent model overrides. Capability-justified mix verified on\n# AI/ML API 2026-05-30. Leave blank to fall back to AIML_MODEL_DEFAULT.\nAIML_MODEL_DEFAULT=gpt-4o-mini\nAIML_MODEL_ECOSYSTEM=claude-sonnet-4-5\nAIML_MODEL_ANALYST=gemini-2.5-flash\nAIML_MODEL_FOLLOWUP=claude-haiku-4-5\nAIML_MODEL_COORDINATOR=claude-sonnet-4-5\nAIML_MODEL_VERIFICATION=deepseek-reasoner\nAIML_MODEL_PROPAGATION=gpt-4o\nAIML_MODEL_NARRATIVE=claude-haiku-4-5\n\n# ---------------------------------------------------------------------------\n# Database — Neon Postgres (serverless)\n# ---------------------------------------------------------------------------\n# Connection string from https://console.neon.tech/ → your project → Connection Details.\n# Use the \"pooled\" connection for async drivers.\n# Format: postgresql+asyncpg://USER:PASSWORD@HOST/DBNAME?sslmode=require\nDATABASE_URL=\n\n# ---------------------------------------------------------------------------\n# CORS — frontend origin allowed to call the API\n# ---------------------------------------------------------------------------\n# Comma-separated list of allowed origins. Default covers Next.js dev server.\nCORS_ORIGINS=http://localhost:3000\n\n# ---------------------------------------------------------------------------\n# Admin token — used by the platform cron to trigger scheduled scans.\n# X-Admin-Token header on POST /api/admin/scan/{primary}.\n# Default is the dev fallback; override in real deployments.\n# ---------------------------------------------------------------------------\nADMIN_TOKEN=dev-admin-token\n"}, "d67056284a393d29dd9e157ad2a3f3ce9c000774": {"t": 1785767594.3923786, "n": 3920, "h": "8cc92d6706e94602", "c": "# ConstraintAlpha — backend environment variables\n# Copy this file to .env and fill in real values. Never commit .env.\n\n# ---------------------------------------------------------------------------\n# Bright Data — scraping (SERP API + Scraping Browser)\n# ---------------------------------------------------------------------------\n# Get from https://brightdata.com/cp/api-keys\nBRIGHT_DATA_API_KEY=\n\n# SERP zone name from your Bright Data dashboard (default: serp_api1)\nBRIGHT_DATA_SERP_ZONE=serp_api1\n\n# Scraping Browser CDP WebSocket URL — looks like:\n# wss://brd-customer-hl_xxx-zone-scraping_browser1:password@brd.superproxy.io:9222\nBRIGHT_DATA_BROWSER_WSS=\n\n# ---------------------------------------------------------------------------\n# Azure OpenAI / Azure AI Foundry — LLM (via litellm wrapper inside Google ADK)\n# ---------------------------------------------------------------------------\n# Azure resource API key (same key works across deployments on one resource)\nAZURE_API_KEY=\n\n# M8 (v0.10): point at the Azure AI Foundry OpenAI-compatible v1 endpoint\n# (the /openai/v1 path). app/agents/agent.py auto-detects \"/openai/v1\" and\n# switches litellm to the openai/ prefix instead of azure/. For the classic\n# Azure OpenAI per-resource URL (https://.openai.azure.com/), the\n# azure/ prefix is used automatically and AZURE_API_VERSION is honoured.\nAZURE_API_BASE=https://friend-api.services.ai.azure.com/openai/v1\n\n# Used only when AZURE_API_BASE points at a classic Azure OpenAI endpoint.\n# Ignored by the OpenAI-compatible v1 path.\nAZURE_API_VERSION=2024-12-01-preview\n\n# Deployment name in your Azure resource. Default: gpt-5.4-mini (425K TPM,\n# 425 RPM — enough headroom for parallel analyst phase). DeepSeek-V4-Pro\n# also works but its deployment is capped at 20K TPM and will throttle.\nAZURE_DEPLOYMENT_NAME=gpt-5.4-mini\n\n# ---------------------------------------------------------------------------\n# AI/ML API — primary LLM provider for the 7-agent pipeline\n# ---------------------------------------------------------------------------\n# Unified OpenAI-compatible endpoint that routes each agent to a model\n# best fit for its job. When AIML_API_KEY is set the agents prefer this\n# provider; when empty they fall back to Azure OpenAI above. Sign up at\n# https://aimlapi.com/ and copy the API key from the dashboard.\nAIML_API_KEY=\nAIML_API_BASE=https://api.aimlapi.com/v1\n\n# Per-agent model overrides — verified working on AI/ML API as of\n# 2026-05-30. Leave blank to fall back to AIML_MODEL_DEFAULT.\nAIML_MODEL_DEFAULT=gpt-4o-mini\nAIML_MODEL_ECOSYSTEM=gpt-4o\nAIML_MODEL_ANALYST=gpt-4o-mini\nAIML_MODEL_FOLLOWUP=claude-haiku-4-5\nAIML_MODEL_COORDINATOR=claude-sonnet-4-5\nAIML_MODEL_VERIFICATION=claude-sonnet-4-5\nAIML_MODEL_PROPAGATION=gpt-4o\nAIML_MODEL_NARRATIVE=claude-sonnet-4-5\n\n# ---------------------------------------------------------------------------\n# Database — Neon Postgres (serverless)\n# ---------------------------------------------------------------------------\n# Connection string from https://console.neon.tech/ → your project → Connection Details.\n# Use the \"pooled\" connection for async drivers.\n# Format: postgresql+asyncpg://USER:PASSWORD@HOST/DBNAME?sslmode=require\nDATABASE_URL=\n\n# ---------------------------------------------------------------------------\n# CORS — frontend origin allowed to call the API\n# ---------------------------------------------------------------------------\n# Comma-separated list of allowed origins. Default covers Next.js dev server.\nCORS_ORIGINS=http://localhost:3000\n\n# ---------------------------------------------------------------------------\n# Admin token — used by the platform cron to trigger scheduled scans.\n# X-Admin-Token header on POST /api/admin/scan/{primary}.\n# Default is the dev fallback; override in real deployments.\n# ---------------------------------------------------------------------------\nADMIN_TOKEN=dev-admin-token\n"}, "d86ee4db1843c9740295da4336c384136fd67e86": {"t": 1785767595.6682389, "n": 2961, "h": "6f8c753cc70fbda9", "c": "# ConstraintAlpha — backend environment variables\n# Copy this file to .env and fill in real values. Never commit .env.\n\n# ---------------------------------------------------------------------------\n# Bright Data — scraping (SERP API + Scraping Browser)\n# ---------------------------------------------------------------------------\n# Get from https://brightdata.com/cp/api-keys\nBRIGHT_DATA_API_KEY=\n\n# SERP zone name from your Bright Data dashboard (default: serp_api1)\nBRIGHT_DATA_SERP_ZONE=serp_api1\n\n# Scraping Browser CDP WebSocket URL — looks like:\n# wss://brd-customer-hl_xxx-zone-scraping_browser1:password@brd.superproxy.io:9222\nBRIGHT_DATA_BROWSER_WSS=\n\n# ---------------------------------------------------------------------------\n# Azure OpenAI / Azure AI Foundry — LLM (via litellm wrapper inside Google ADK)\n# ---------------------------------------------------------------------------\n# Azure resource API key (same key works across deployments on one resource)\nAZURE_API_KEY=\n\n# M8 (v0.10): point at the Azure AI Foundry OpenAI-compatible v1 endpoint\n# (the /openai/v1 path). app/agents/agent.py auto-detects \"/openai/v1\" and\n# switches litellm to the openai/ prefix instead of azure/. For the classic\n# Azure OpenAI per-resource URL (https://.openai.azure.com/), the\n# azure/ prefix is used automatically and AZURE_API_VERSION is honoured.\nAZURE_API_BASE=https://friend-api.services.ai.azure.com/openai/v1\n\n# Used only when AZURE_API_BASE points at a classic Azure OpenAI endpoint.\n# Ignored by the OpenAI-compatible v1 path.\nAZURE_API_VERSION=2024-12-01-preview\n\n# Deployment name in your Azure resource. Default: gpt-5.4-mini (425K TPM,\n# 425 RPM — enough headroom for parallel analyst phase). DeepSeek-V4-Pro\n# also works but its deployment is capped at 20K TPM and will throttle.\nAZURE_DEPLOYMENT_NAME=gpt-5.4-mini\n\n# ---------------------------------------------------------------------------\n# Database — Neon Postgres (serverless)\n# ---------------------------------------------------------------------------\n# Connection string from https://console.neon.tech/ → your project → Connection Details.\n# Use the \"pooled\" connection for async drivers.\n# Format: postgresql+asyncpg://USER:PASSWORD@HOST/DBNAME?sslmode=require\nDATABASE_URL=\n\n# ---------------------------------------------------------------------------\n# CORS — frontend origin allowed to call the API\n# ---------------------------------------------------------------------------\n# Comma-separated list of allowed origins. Default covers Next.js dev server.\nCORS_ORIGINS=http://localhost:3000\n\n# ---------------------------------------------------------------------------\n# Admin token — used by the platform cron to trigger scheduled scans.\n# X-Admin-Token header on POST /api/admin/scan/{primary}.\n# Default is the dev fallback; override in real deployments.\n# ---------------------------------------------------------------------------\nADMIN_TOKEN=dev-admin-token\n"}, "33a36bc392bed4ab87a542f76667b7e7331c7581": {"t": 1785767597.5719476, "n": 2403, "h": "3ef090a0390a4fca", "c": "# ConstraintAlpha — backend environment variables\n# Copy this file to .env and fill in real values. Never commit .env.\n\n# ---------------------------------------------------------------------------\n# Bright Data — scraping (SERP API + Scraping Browser)\n# ---------------------------------------------------------------------------\n# Get from https://brightdata.com/cp/api-keys\nBRIGHT_DATA_API_KEY=\n\n# SERP zone name from your Bright Data dashboard (default: serp_api1)\nBRIGHT_DATA_SERP_ZONE=serp_api1\n\n# Scraping Browser CDP WebSocket URL — looks like:\n# wss://brd-customer-hl_xxx-zone-scraping_browser1:password@brd.superproxy.io:9222\nBRIGHT_DATA_BROWSER_WSS=\n\n# ---------------------------------------------------------------------------\n# Azure OpenAI — LLM (via litellm wrapper inside Google ADK)\n# ---------------------------------------------------------------------------\n# Azure resource API key\nAZURE_API_KEY=\n\n# Azure resource endpoint, e.g. https://your-resource-name.openai.azure.com/\nAZURE_API_BASE=\n\n# Azure API version (default: 2024-12-01-preview)\nAZURE_API_VERSION=2024-12-01-preview\n\n# The deployment name you created inside the Azure resource for the LLM.\n# Must match exactly (case-sensitive). Default expected: DeepSeek-V4-Pro\nAZURE_DEPLOYMENT_NAME=DeepSeek-V4-Pro\n\n# ---------------------------------------------------------------------------\n# Database — Neon Postgres (serverless)\n# ---------------------------------------------------------------------------\n# Connection string from https://console.neon.tech/ → your project → Connection Details.\n# Use the \"pooled\" connection for async drivers.\n# Format: postgresql+asyncpg://USER:PASSWORD@HOST/DBNAME?sslmode=require\nDATABASE_URL=\n\n# ---------------------------------------------------------------------------\n# CORS — frontend origin allowed to call the API\n# ---------------------------------------------------------------------------\n# Comma-separated list of allowed origins. Default covers Next.js dev server.\nCORS_ORIGINS=http://localhost:3000\n\n# ---------------------------------------------------------------------------\n# Admin token — used by the platform cron to trigger scheduled scans.\n# X-Admin-Token header on POST /api/admin/scan/{primary}.\n# Default is the dev fallback; override in real deployments.\n# ---------------------------------------------------------------------------\nADMIN_TOKEN=dev-admin-token\n"}, "622c7c8d1ee6e505c7ee8cc2762899df5a0eabb3": {"t": 1785767598.8877702, "n": 2029, "h": "868da2d282e90376", "c": "# ConstraintAlpha — backend environment variables\n# Copy this file to .env and fill in real values. Never commit .env.\n\n# ---------------------------------------------------------------------------\n# Bright Data — scraping (SERP API + Scraping Browser)\n# ---------------------------------------------------------------------------\n# Get from https://brightdata.com/cp/api-keys\nBRIGHT_DATA_API_KEY=\n\n# SERP zone name from your Bright Data dashboard (default: serp_api1)\nBRIGHT_DATA_SERP_ZONE=serp_api1\n\n# Scraping Browser CDP WebSocket URL — looks like:\n# wss://brd-customer-hl_xxx-zone-scraping_browser1:password@brd.superproxy.io:9222\nBRIGHT_DATA_BROWSER_WSS=\n\n# ---------------------------------------------------------------------------\n# Azure OpenAI — LLM (via litellm wrapper inside Google ADK)\n# ---------------------------------------------------------------------------\n# Azure resource API key\nAZURE_API_KEY=\n\n# Azure resource endpoint, e.g. https://your-resource-name.openai.azure.com/\nAZURE_API_BASE=\n\n# Azure API version (default: 2024-12-01-preview)\nAZURE_API_VERSION=2024-12-01-preview\n\n# The deployment name you created inside the Azure resource for the LLM.\n# Must match exactly (case-sensitive). Default expected: DeepSeek-V4-Pro\nAZURE_DEPLOYMENT_NAME=DeepSeek-V4-Pro\n\n# ---------------------------------------------------------------------------\n# Database — Neon Postgres (serverless)\n# ---------------------------------------------------------------------------\n# Connection string from https://console.neon.tech/ → your project → Connection Details.\n# Use the \"pooled\" connection for async drivers.\n# Format: postgresql+asyncpg://USER:PASSWORD@HOST/DBNAME?sslmode=require\nDATABASE_URL=\n\n# ---------------------------------------------------------------------------\n# CORS — frontend origin allowed to call the API\n# ---------------------------------------------------------------------------\n# Comma-separated list of allowed origins. Default covers Next.js dev server.\nCORS_ORIGINS=http://localhost:3000\n"}, "126ebf61e502c7afa793172f5a17a75cb2388638": {"t": 1785767601.8852599, "n": 337, "h": "8346322ebcbe48c8", "c": "BRIGHT_DATA_API_KEY=your_bright_data_api_key\nBRIGHT_DATA_SERP_ZONE=serp_api1\nBRIGHT_DATA_BROWSER_WSS=wss://brd-customer-CUSTOMER_ID-zone-ZONE_NAME:PASSWORD@brd.superproxy.io:9222\nAZURE_API_KEY=your_azure_api_key\nAZURE_API_BASE=https://your-resource.openai.azure.com\nAZURE_API_VERSION=2024-12-01-preview\nAZURE_DEPLOYMENT_NAME=DeepSeek-R1\n"}}}}