google.internal._gm_sse_failure
(internal) `baml.http.fetch_sse` rejects a non-2xx response by throwing an `baml.errors.Io` whose message embeds the status and the body (sys_native/src/io_impls.rs). Recover that status so an SSE failure lands in the SAME taxonomy as a unary one: a 400 must NOT become a retry-safe NetworkFailure, or a Retry policy would replay an invalid request forever.
Signature
(internal) baml.http.fetch_sse rejects a non-2xx response by throwing an
baml.errors.Io whose message embeds the status and the body
(sys_native/src/io_impls.rs). Recover that status so an SSE failure lands in
the SAME taxonomy as a unary one: a 400 must NOT become a retry-safe
NetworkFailure, or a Retry policy would replay an invalid request forever.
Source:<builtin>/google/ns_internal/gemini.bamlbytes 34632–35890