28 August 2024 - v0.0.7
- 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
28 July 2024 - v0.0.6
- Support beta header to enable extended token output. See: https://docs.anthropic.com/en/release-notes/api#july-15th-2024
- misan chat: Interactive chat command
- misan: --json flag to output responses as JSON
- @philpax: Improved error responses
- MessagesRequest.merge_response and merge_streamed_response to merge responses into requests
- Add support for specifying stop tokens
01 June 2024 - v0.0.5
- Make
Anthropic.messages
andAnthropic.messages_stream
take a reference toMessagesRequest
- @philpax: Add support for tool responses