Open
Description
Description
According to this code, the intention seems to map failed fetches to APICallError
.
However, the error detection is looking for fetch failed
, while browser-based fetch()
errors normally throw Failed to Fetch
,

It could be that in nodejs / next environments fetch failed
is thrown, but I think we should handle both cases?
AI SDK Version
No response