Patch Changes
-
#2338
b12991fThanks @boozedog! - Fix dropped streamed tool-call arguments when a provider sendsfunction.name: nullon continuation fragments.OpenAI-compatible providers such as Fireworks send the tool name only on the first streamed
tool_callsfragment andfunction.name: nullon the continuation fragments that carry the argument deltas.ChatCompletionToolFunctionDelta.namewasSchema.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.nameis 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