Skip to content

v1.4.0

Latest

Choose a tag to compare

@jiwon-oai jiwon-oai released this 25 Nov 21:02
· 9 commits to main since this release
616a60d
  • Introduce WidgetTemplate for building widgets from .widget files instead of hand-crafting widget models.
  • Add ClientEffectEvent for triggering client-side behavior in ChatKit.js.
  • Add overridable ChatKitServer.handle_stream_cancelled and get_stream_options methods to support configurable response cancellation behavior.
  • Add SDKHiddenContextItem with default ThreadItemConverter handling to store ChatKit-added hidden context in threads.

Breaking:

  • Widget and action classes remain usable but are marked deprecated in favor of using WidgetTemplate
  • jinja2 is a required dependency for widget template rendering.
  • A stop button shows by default during streaming so users can cancel mid-response; integrations can override ChatKitServer.get_stream_options to change this.