Skip to content

@effect/ai-openai-compat@4.0.0-beta.79

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 11 Jun 03:26
· 79 commits to main since this release
c4b5881

Patch Changes

  • #2338 b12991f Thanks @boozedog! - Fix dropped streamed tool-call arguments when a provider sends function.name: null on continuation fragments.

    OpenAI-compatible providers such as Fireworks send the tool name only on the first streamed tool_calls fragment and function.name: null on the continuation fragments that carry the argument deltas. ChatCompletionToolFunctionDelta.name was Schema.optionalKey(Schema.String) (non-nullable), so chunk validation rejected every continuation and silently discarded its argument delta, leaving the assembled tool call with empty or partial params. name is now nullable (Schema.NullOr(Schema.String)).

  • Updated dependencies [b9704dc, a207113, 5e9b9e2, 7c128ae, 0ada457, d7cc5a2, aad63be, 09809f6, 2fddda5, 5f21768, f27003e]:

    • effect@4.0.0-beta.79