@effect/ai-openai@0.40.1
·
1 commit
to main
since this release
Patch Changes
-
#6281
2e01a9eThanks @mollyegibson! - Skip unrecognized or malformed events in OpenAI streaming responses instead of aborting the whole stream.OpenAI emits events that are absent from the generated OpenAPI schema — most visibly
{"type":"keepalive"}SSE heartbeats during long Responses turns (reasoning, tool calls, web search). These previously failed strict per-event decoding withMalformedOutputand tore down the entire in-progress stream. Such frames are now skipped (logged at debug level) and the stream continues; every recognized event is still decoded as before. -
Updated dependencies [
8222963,7e00169]:- effect@3.21.4
- @effect/platform@0.96.2