fa94e5a76f
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 20h23m42s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 20h23m42s
根因:模板片段配置存在template_segments表(旧模型),但兜底逻辑读的是 template_clip_configs表(新模型,空表),导致0片段→can_generate失败→400。 修复:优先读新模型,无数据时回退读旧模型template_segments,确保兜底生效。
xiaoxia-saas API
结构
app/core/:配置与基础能力app/api/:路由组织app/schemas/:请求响应模型app/dependencies.py:依赖注入入口main.py:FastAPI 启动入口
当前可用接口
GET /api/healthGET /api/projects?workspace_id=...POST /api/projects