refactor: remove fastgpt runtime dependency

This commit is contained in:
kris
2026-03-23 17:06:05 +08:00
parent 71465b3d55
commit 1d9dbfa8a4
22 changed files with 8489 additions and 4520 deletions

View File

@@ -3,14 +3,14 @@
## Core Components
- Android App: 素材探索、文案生产、个人配置、管理员审批、OTA
- Collector Service: FastAPI + SQLite负责业务流程编排
- Collector Service: FastAPI + SQLite负责多租户业务边界、任务状态和 Agent 数据
- n8n: 负责异步流程编排与 webhook 触发
- Local Model API: 默认指向本机 `cli-proxy-api`
- FastGPT: 负责数据集和后续工作流扩展
- MongoDB / PostgreSQL + pgvector / Redis / MinIO: FastGPT 运行依赖
- NAS / 外部执行器: 负责大文件缓存、录像、剪辑和 AI 视频执行
## Main Flow
User -> Android App -> Collector Service -> Local Model / FastGPT
User -> Android App / Web / OneLiner -> Collector Service -> Local Model / n8n / 执行引擎
## Data Isolation
@@ -23,4 +23,4 @@ User -> Android App -> Collector Service -> Local Model / FastGPT
- `model_profiles`
- `app_updates`
每个用户的数据通过 `user_id` 进行隔离。
每个用户/项目的数据通过 `user_id + project_id` 进行隔离。