Patch Changes
-
75f86f4: fix(provider/openai, provider/open-responses): throw a descriptive error when the Responses API returns a 200 with no
outputA successful (200) Responses body missing the
outputarray previously threw an opaqueoutput is not iterableTypeError fromdoGenerate. Both providers now surface a clearAPICallError("Responses API returned no output …"), including the incomplete-details reason (and status, for open-responses) when present. When the body includes aresponse.error, its message is surfaced first so upstream error details aren't masked by the generic fallback. This makes malformed/incomplete upstream responses actionable instead of a cryptic crash. -
Updated dependencies [cd06458]
- @ai-sdk/provider-utils@5.0.11