Commit Graph

7 Commits

Author SHA1 Message Date
abd4c3ce77 feat: 添加数字人服务及相关部署文件 2026-04-22 16:26:07 +08:00
69d948de88 refactor: 移除 relay 服务中的 model 参数,Dify /chat-messages 不需要此字段 2026-04-22 16:18:44 +08:00
5722c75536 fix: 中转服务增加 OpenAI->Dify 请求格式转换和响应格式转换 2026-04-22 16:13:39 +08:00
f6f3f641e1 feat: 修正 Dify 端点为 /chat-messages,补全 inputs 字段;新增直连测试页和 relay 测试页 2026-04-22 16:11:27 +08:00
1f3f8a1121 fix: Dockerfile RUN pip 使用 /bin/sh -c 包裹以支持; 回退逻辑 2026-04-22 15:28:21 +08:00
7d07eee2be feat: 添加数字人对接中转服务 Docker Compose 部署方案
- digital-human: FastAPI 中转服务,连接客户端与 Dify LLM 平台
- Redis: 容器内缓存,支持请求体哈希缓存(300s TTL)
- 支持通过 DH_PORT 自定义宿主机映射端口
- Redis 默认不暴露端口,通过 docker-compose.redis-expose.yml 按需开启
- 显式声明 digital-human-net 网络,容器间通过内部 DNS 互通
- 修复 redis.ConnectionError 导入路径(使用 redis.exceptions)
- Dockerfile pip 安装回退机制,避免镜像源不可用时构建失败
- 新增 .gitignore 防止 .env 密钥泄露
2026-04-22 14:24:59 +08:00
0f765281cb init 2026-04-22 14:07:23 +08:00