feat(#1893): 注册 scripts_ai_router 到主路由 + requirements.txt 添加 yt-dlp
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 42s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 43s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m6s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m36s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 2m23s
CI/CD Pipeline / Validate - Style (pull_request) Has been cancelled
CI/CD Pipeline / Validate - Security (pull_request) Has been cancelled
CI/CD Pipeline / Unit Tests (pull_request) Has been cancelled
CI/CD Pipeline / Build Production API Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Web Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Deploy Production (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Has been cancelled
CI/CD Pipeline / Canary Release to Production (pull_request) Has been cancelled
CI/CD Pipeline / CI Gate (pull_request) Has been cancelled
AI Code Review / AI Code Review (pull_request) Has been cancelled
PR Automation / Auto Approve on CI Green (pull_request) Has been cancelled
PR Automation / Auto Merge on CI Green + Approved (pull_request) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 26h10m52s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 26h11m44s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 26h11m45s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 26h11m2s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 26h11m3s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 26h10m19s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 26h11m6s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 26h11m6s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 26h11m8s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 26h11m8s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 26h10m14s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 26h10m14s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 26h11m2s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 26h11m9s

- router.py: import scripts_ai_router 并 include_router(prefix='/scripts')
- requirements.txt: 添加 yt-dlp>=2024.1.0(api-base/worker-base 均消费此文件)
This commit is contained in:
xiaoxia-agent
2026-09-15 12:56:39 +08:00
parent 8998e5f910
commit 5f632a9b70
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -21,6 +21,7 @@ from app.api.routes.lipsync import router as lipsync_router
from app.api.routes.points import points_router, usage_router
from app.api.routes.projects import router as projects_router
from app.api.routes.scripts import router as scripts_router
from app.api.routes.scripts_ai import router as scripts_ai_router
from app.api.routes.share import router as share_router
from app.api.routes.subscription import router as subscription_router
from app.api.routes.tags import router as tags_router
@@ -190,6 +191,11 @@ api_router.include_router(
prefix="/scripts",
tags=["ScriptLibrary"],
)
api_router.include_router(
scripts_ai_router,
prefix="/scripts",
tags=["ScriptLibrary AI"],
)
api_router.include_router(
ai_avatar_render_router,
prefix="/ai-avatar/render",
+3
View File
@@ -17,3 +17,6 @@ python-dotenv==1.0.1
# AI 数字人封面智能选帧(cover_frame_scorer 用 cv2/numpy 做清晰度/亮度/色彩评分)
numpy==1.26.4
opencv-python-headless==4.10.0.84
# yt-dlp: 抖音视频下载(#1893 文案提取)
yt-dlp>=2024.1.0