releases.sh

Fireworks error messages no longer degrade to HTTP reason phrase

@ai-sdk/fireworks@1.0.51

August 2, 2026AI SDKView original ↗
1 fixThis release1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗

Patch Changes

  • b42ee57: Parse the object error envelope Fireworks actually returns ({"error":{"object","type","code","message"}}) instead of a bare string. The mismatched schema failed to parse, so error messages silently degraded to the HTTP reason phrase — Bad Request over HTTP/1.1, and an empty string over HTTP/2, which has no reason phrase. Fireworks' own message now reaches the caller, e.g. Model not found, inaccessible, and/or not deployed rather than Not Found.

Fetched August 2, 2026