Skip to content

v0.2.22

Choose a tag to compare

@bradleygolden bradleygolden released this 21 Feb 16:38
· 5 commits to main since this release

Added

  • Added on_stream_done/3 hook callback, invoked once after stream completion with the assembled Puck.Response and final assistant-appended context

Fixed

  • BAML streaming now populates usage (token counts) in the final chunk, making on_stream_done and Puck.Response usage symmetric with non-streaming calls
  • BAML streaming no longer emits partial chunks containing broken escape sequences or duplicate content