Skip to content

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

Choose a tag to compare

@github-actions github-actions released this 07 Nov 19:23
· 5219 commits to main since this release
3dfab88

Patch Changes

  • 49c554d: Validate response-supplied Black Forest Labs polling and image URLs, including redirects, to block requests to private destinations outside the configured provider origin. Preserve self-hosted endpoints and withhold credentials from foreign origins and cross-origin redirects.

  • ec24878: 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.

  • Updated dependencies [49c554d]

  • Updated dependencies [b753c03]

    • @ai-sdk/provider-utils@3.0.45