github Effect-TS/effect @effect/ai-openai@0.40.1

latest release: @effect/platform@0.96.2
7 hours ago

Patch Changes

  • #6281 2e01a9e Thanks @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 with MalformedOutput and 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

Don't miss a new effect release

NewReleases is sending notifications on new releases.