feat(#1893): scripts AI capability (douyin extract/rewrite/titles) #1930

Merged
auto-approve-bot merged 3 commits from feature/1893-scripts-ai-capability into develop 2026-09-15 13:24:39 +08:00

3 Commits

Author SHA1 Message Date
CI Bot 3a6c6677fb style: auto-format with black + isort + ruff + prettier [skip ci-format-check]
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 3s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 3s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 45s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 46s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m7s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 2m1s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 2m17s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 2m51s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m7s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 5m5s
AI Code Review / AI Code Review (pull_request) Successful in 6m39s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 9m1s
CI/CD Pipeline / CI Gate (pull_request) Successful in 1s
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 6m36s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 27s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 3m23s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 25h59m43s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 26h8m45s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 26h8m30s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 26h7m58s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 26h8m4s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 26h8m4s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 26h8m7s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 25h59m3s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 25h59m5s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 25h59m5s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 26h7m47s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 25h59m3s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 26h7m47s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 26h7m58s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 26h7m48s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 26h7m58s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 26h8m14s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 26h8m8s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 26h43m40s
2026-09-15 05:14:49 +00:00
xiaoxia-agent 5f632a9b70 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 均消费此文件)
2026-09-15 13:07:12 +08:00
xiaoxia-agent 8998e5f910 feat(#1893): 新增文案库 AI 能力 3 个 API 路由及 ASR 服务封装
- POST /api/v1/scripts/extract-from-douyin: 抖音视频文案提取(yt-dlp+ASR)
- POST /api/v1/scripts/ai-rewrite: AI 文案改写(豆包 LLM)
- POST /api/v1/scripts/ai-generate-titles: AI 标题生成(复用 generate_smart_titles)
- 新增 script_asr_service 封装 ASR 转写(未配置时返回 503)
- 32 个单元测试全部通过
2026-09-15 13:07:12 +08:00