Fix AI video generation hanging forever when the provider reports failure
Fix AI video generation hanging forever when the provider reports failure: a task in github-trending-environments-10k (Harbor dataset). Title: Fix AI video generation hanging forever when the provider reports failure
The task
**Title:** Fix AI video generation hanging forever when the provider reports failure