33 lines
1.5 KiB
Bash
33 lines
1.5 KiB
Bash
# =============================================================================
|
||
# 本地开发环境配置
|
||
# 用于 python app/backend.py 和 streamlit run frontend/frontend.py
|
||
# =============================================================================
|
||
|
||
# -----------------------------------------------------------------------------
|
||
# AI 模型 API 密钥
|
||
# -----------------------------------------------------------------------------
|
||
ZHIPUAI_API_KEY=4d568a4367f1442bbc226cc0daf84566.44SsKVWkVIM2Mkeg
|
||
DEEPSEEK_API_KEY=sk-e74b13ac778f4b7eb29afa418a14421e
|
||
VLLM_LOCAL_KEY=token-abc123
|
||
|
||
# -----------------------------------------------------------------------------
|
||
# 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 |