Repository navigation
1.14.0
What's Changed
withStreamCompletionHandler()on the factory reports each Messages stream's usage once it ends, fails or is dropped. The stream hasusage(),model(),completed()anddurationMs().- A response's usage has
billedInputTokens(),billedOutputTokens(),billedTokens()andrateLimitTokens(), counted acrossusage.iterations.
UPGRADING.md lists the changes that can affect code written against 1.13, such as a transporter of your own needing streamCompletionHandler().
Full Changelog: 1.13.0...1.14.0