fix(#1341): analyze_videos 添加缺失的 prompt 参数
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 1m31s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 2m35s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 2m40s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m28s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 5m33s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 6m4s
CI/CD Pipeline / Integration Tests (push) Successful in 1m44s
CI/CD Pipeline / Unit Tests (push) Successful in 8m56s
CI/CD Pipeline / Build Staging API Image (push) Successful in 13m52s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 35s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 43s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 2m41s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m50s
CI/CD Pipeline / Canary Release to Production (push) Failing after 845h21m13s
CI/CD Pipeline / Deploy Production (push) Failing after 845h29m36s
CI/CD Pipeline / CI Gate (push) Failing after 845h29m37s
CI/CD Pipeline / Build Production Web Image (push) Failing after 845h29m38s
CI/CD Pipeline / Build Production API Image (push) Failing after 845h29m38s
CI/CD Pipeline / PR Build Web Image (push) Failing after 845h38m35s
CI/CD Pipeline / PR Build API Image (push) Failing after 845h38m35s
CI/CD Pipeline / Frontend Lint (push) Failing after 845h38m35s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 845h38m36s
CI/CD Pipeline / Production Browser E2E (push) Failing after 846h3m4s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 846h3m6s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 846h12m3s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 1m31s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 2m35s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 2m40s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m28s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 5m33s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 6m4s
CI/CD Pipeline / Integration Tests (push) Successful in 1m44s
CI/CD Pipeline / Unit Tests (push) Successful in 8m56s
CI/CD Pipeline / Build Staging API Image (push) Successful in 13m52s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 35s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 43s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 2m41s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m50s
CI/CD Pipeline / Canary Release to Production (push) Failing after 845h21m13s
CI/CD Pipeline / Deploy Production (push) Failing after 845h29m36s
CI/CD Pipeline / CI Gate (push) Failing after 845h29m37s
CI/CD Pipeline / Build Production Web Image (push) Failing after 845h29m38s
CI/CD Pipeline / Build Production API Image (push) Failing after 845h29m38s
CI/CD Pipeline / PR Build Web Image (push) Failing after 845h38m35s
CI/CD Pipeline / PR Build API Image (push) Failing after 845h38m35s
CI/CD Pipeline / Frontend Lint (push) Failing after 845h38m35s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 845h38m36s
CI/CD Pipeline / Production Browser E2E (push) Failing after 846h3m4s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 846h3m6s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 846h12m3s
generation_preview.py 调用 mk_client.analyze_videos() 缺少必传 prompt 参数, 导致 TypeError 被 try/except 吞掉,MediaKit 视频理解从未生效。
This commit is contained in:
@@ -322,6 +322,7 @@ def create_preview_generation_task(
|
||||
|
||||
if asset_urls:
|
||||
analyses = mk_client.analyze_videos(
|
||||
prompt="分析这个视频的主要内容,描述场景、物体、人物动作和主题",
|
||||
video_urls=asset_urls,
|
||||
level="Economy",
|
||||
poll_interval=2.0,
|
||||
|
||||
Reference in New Issue
Block a user