38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
|
|
APP_NAME=Medical Consultation Agent Demo
|
||
|
|
APP_ENV=local
|
||
|
|
APP_DEBUG=true
|
||
|
|
API_V1_PREFIX=/api/v1
|
||
|
|
|
||
|
|
# MySQL
|
||
|
|
# MYSQL_URL keeps the original async style URL for future async SQLAlchemy.
|
||
|
|
# DATABASE_URL is optional; the current sync backend will normalize MYSQL_URL to mysql+pymysql automatically.
|
||
|
|
MYSQL_URL=mysql+aiomysql://root:password@localhost:3306/medical_consultation_agent?charset=utf8mb4
|
||
|
|
|
||
|
|
# Redis
|
||
|
|
RUNTIME_MEMORY_BACKEND=redis
|
||
|
|
REDIS_URL=redis://localhost:6379/0
|
||
|
|
RUNTIME_MEMORY_TTL_SECONDS=7200
|
||
|
|
|
||
|
|
# OpenAI-compatible LLM
|
||
|
|
LLM_BASE_URL=https://api.deepseek.com/chat/completions
|
||
|
|
LLM_API_KEY=
|
||
|
|
LLM_MODEL=deepseek-v4-pro
|
||
|
|
LLM_FAST_MODEL=deepseek-v4-pro
|
||
|
|
LLM_REASON_MODEL=deepseek-v4-pro
|
||
|
|
LLM_TIMEOUT_SECONDS=45
|
||
|
|
LLM_CHAT_TIMEOUT_SECONDS=20
|
||
|
|
LLM_STREAM_FIRST_TOKEN_TIMEOUT_SECONDS=15
|
||
|
|
LLM_STREAM_TOTAL_TIMEOUT_SECONDS=45
|
||
|
|
LLM_STREAM_ENABLED=true
|
||
|
|
LLM_MOCK_ENABLED=false
|
||
|
|
LLM_FALLBACK_TO_MOCK=false
|
||
|
|
LLM_FAST_THINKING_ENABLED=false
|
||
|
|
LLM_REASON_THINKING_ENABLED=false
|
||
|
|
LLM_REASONING_EFFORT=low
|
||
|
|
LLM_FAST_MAX_TOKENS=512
|
||
|
|
LLM_HINT_MAX_TOKENS=1200
|
||
|
|
LLM_SCORING_JSON_RESPONSE=true
|
||
|
|
LLM_SCORING_MAX_TOKENS=4096
|
||
|
|
|
||
|
|
REPORT_STORAGE_DIR=./storage/reports
|