Skip to content

@effect/ai-openai@0.40.1

Choose a tag to compare

@github-actions github-actions released this 18 Jun 20:49
· 1 commit to main since this release
4c5a0e3

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