Files
ailine/.env

33 lines
1.5 KiB
Bash
Raw Normal View History

2026-04-14 17:34:12 +08:00
# =============================================================================
# 本地开发环境配置
# 用于 python app/backend.py 和 streamlit run frontend/frontend.py
# =============================================================================
# -----------------------------------------------------------------------------
# AI 模型 API 密钥
# -----------------------------------------------------------------------------
2026-04-12 01:46:51 +08:00
ZHIPUAI_API_KEY=4d568a4367f1442bbc226cc0daf84566.44SsKVWkVIM2Mkeg
2026-04-14 17:34:12 +08:00
DEEPSEEK_API_KEY=sk-e74b13ac778f4b7eb29afa418a14421e
2026-04-12 01:46:51 +08:00
VLLM_LOCAL_KEY=token-abc123
2026-04-14 17:34:12 +08:00
# -----------------------------------------------------------------------------
# vLLM 服务配置
# -----------------------------------------------------------------------------
# 本地开发时vLLM 通常在 localhost 运行
VLLM_BASE_URL=http://localhost:8000/v1
# -----------------------------------------------------------------------------
# 数据库配置
# -----------------------------------------------------------------------------
# 本地开发时,数据库在 localhost 运行
DB_URI=postgresql://postgres:mysecretpassword@localhost:5432/langgraph_db?sslmode=disable
# -----------------------------------------------------------------------------
# 前端配置
# -----------------------------------------------------------------------------
# 本地开发时,后端也在 localhost 运行
API_URL=http://localhost:8001/chat
# 本地开发 - 显示所有调试信息
LOG_LEVEL=DEBUG
DEBUG=true