Files
ailine/.env
root 8dd94c6c19
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 27s
添加长期记忆
2026-04-14 17:34:12 +08:00

33 lines
1.5 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# 本地开发环境配置
# 用于 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