Skip to content

@effect/ai-anthropic@4.0.0-beta.88

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 24 Jun 05:43
· 1 commit to main since this release
46b3836

Patch Changes

  • #2450 7b8a549 Thanks @DomiR! - Fix non-streaming Anthropic responses throwing when a tool call carries caller metadata. The mapper emitted caller.toolId: undefined, but ProviderMetadata is Record(String, NullOr(Json)) and undefined is not a valid Json value, so decoding the model's own response threw Expected JSON value. Emit null instead, matching the streaming mappers.

  • Updated dependencies [911f1b8, 8beeeea, c306fcf]:

    • effect@4.0.0-beta.88