Skip to content

1.14.0

Choose a tag to compare

@mozex mozex released this 04 Nov 11:51
· 5 commits to main since this release
Immutable release. Only release title and notes can be modified.
eaf2950

What's Changed

  • withStreamCompletionHandler() on the factory reports each Messages stream's usage once it ends, fails or is dropped. The stream has usage(), model(), completed() and durationMs().
  • A response's usage has billedInputTokens(), billedOutputTokens(), billedTokens() and rateLimitTokens(), counted across usage.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