配置修改
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 27s

This commit is contained in:
2026-04-16 04:36:50 +08:00
parent b5cc53c9de
commit 602d551fd1
4 changed files with 75 additions and 166 deletions

View File

@@ -39,4 +39,35 @@ QDRANT_COLLECTION_NAME=mem0_user_memories
# 前端 API 地址(本地开发时需显式配置)
# 注意:这里只需要域名和端口,不需要 /chat 路径
API_URL=http://localhost:8083
API_URL=http://localhost:8083
```
```
# ============================================================================
# AI Agent 项目环境变量配置
# ⚠️ 重要:此文件包含敏感信息,请勿提交到版本控制系统!
# ============================================================================
# AI 模型 API Keys必须配置
ZHIPUAI_API_KEY=your_zhipu_api_key_here
DEEPSEEK_API_KEY=your_deepseek_api_key_here
LLAMACPP_API_KEY=your_llamacpp_api_key_here
# 日志配置(可选,有默认值)
LOG_LEVEL=WARNING
DEBUG=false
ENABLE_GRAPH_TRACE=false
# 数据库配置(可选,有默认值)
DB_URI=postgresql://postgres:mysecretpassword@db:5432/langgraph_db?sslmode=disable
# Qdrant 配置(可选,有默认值)
QDRANT_URL=http://qdrant:6333
QDRANT_COLLECTION_NAME=mem0_user_memories
# llama.cpp 服务配置(可选,有默认值)
VLLM_BASE_URL=http://llamacpp:8081/v1
VLLM_EMBEDDING_URL=http://llamacpp:8082/v1
# 前端 API 地址(可选,有默认值)
API_URL=http://localhost:8083