46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
APP_NAME=Medical Consultation Agent Demo
|
|
APP_ENV=local
|
|
APP_DEBUG=true
|
|
API_V1_PREFIX=/api/v1
|
|
APP_HOST=127.0.0.1
|
|
APP_PORT=9000
|
|
|
|
# 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>@mysql:3306/medical?charset=utf8mb4
|
|
DATABASE_URL=mysql+pymysql://root:<password>@mysql:3306/medical?charset=utf8mb4
|
|
|
|
# Redis
|
|
RUNTIME_MEMORY_BACKEND=redis
|
|
REDIS_URL=redis://redis:6379/0
|
|
RUNTIME_MEMORY_TTL_SECONDS=7200
|
|
|
|
# Django user center auth for frontend integration
|
|
AUTH_USER_ME_URL=http://192.168.2.76:8000/api/user/users/me/
|
|
AUTH_TIMEOUT_SECONDS=5
|
|
AUTH_CACHE_TTL_SECONDS=300
|
|
|
|
# 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
|