Skip to content

@ai-sdk/black-forest-labs@2.0.78

Choose a tag to compare

@github-actions github-actions released this 06 Nov 19:43
· 24 commits to main since this release
9ae0c49

Patch Changes

  • eded4b8: fix: poll get_result when a webhook submit response has no polling URL

    Setting webhookUrl makes Black Forest Labs return a webhook-shaped submit
    response without polling_url, which caused generateImage to fail response
    validation. The submit schema now accepts that response shape, and generation
    polls the get_result endpoint by request id so the call still returns the
    image. Transient Task not found responses are retried for a short grace
    period; a task that never becomes visible now fails with an error naming the
    request id instead of a generic poll timeout.

  • fbc2454: Refactor Black Forest Labs model ID logic into a model catalog that declares capabilities and provider options, and generate provider capability documentation from it. Request behavior is unchanged.