- Add the
cache_control
field to various API objects. MessagesResponse.system
is now a vec ofContent
objects.- Add cache_creation_input_tokens and cache_read_input_tokens to
Usage
MessagesResponse.usage
is now cumulative for streamed responses- Fix ToolChoice::SpecifiedTool structure (@philpax)
- Add support for error events in streaming responses