Skip to content

Bug wait result #9

Description

@TiepHoangDev

Bug phát hiện được
generate_speech() và transcribe_file() (chế độ wait=True, mặc định) check:

if status == "success": # client.py:374, :464
Nhưng thực tế API CapCut trả "status": "succeed" (đã thấy trong test live lúc nãy). → hai hàm tiện ích này sẽ không bao giờ nhận ra task đã xong, cứ poll tới khi hết timeout rồi ném CapCutTaskError, dù task đã thành công từ giây đầu. Chỉ các hàm low-level (create_tts_task + query_tts_task gọi tay) mới dùng được đúng — đúng như tôi đã làm ở bước test trước.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions