Releases: Effect-TS/effect
Release list
effect@3.21.4
@effect/platform@0.96.2
Patch Changes
-
#6273
7e00169Thanks @tim-smart! - Remove the content-length header before sending FetchHttpClient requests. -
Updated dependencies [
8222963]:- effect@3.21.4
@effect/ai-openai@0.40.1
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
@effect/ai-amazon-bedrock@0.16.1
Patch Changes
-
#6272
1876254Thanks @tsushanth! - Fix@effect/ai-amazon-bedrockstreaming so the terminal"finish"part carries real token counts. The Bedrock Converse stream sendsmetadata(with the populatedusageblock) aftermessageStop, but the SDK was emitting"finish"synchronously onmessageStop, capturing the still-emptyusagedefaults. Buffer the finish reason onmessageStopand emit"finish"from themetadatacase onceinputTokens/outputTokens/totalTokensare filled in. -
Updated dependencies [
8222963,7e00169]:- effect@3.21.4
- @effect/platform@0.96.2