Releases: openai/chatkit-python
Releases · openai/chatkit-python
v1.4.0
- Introduce
WidgetTemplatefor building widgets from .widget files instead of hand-crafting widget models. - Add
ClientEffectEventfor triggering client-side behavior in ChatKit.js. - Add overridable
ChatKitServer.handle_stream_cancelledandget_stream_optionsmethods to support configurable response cancellation behavior. - Add
SDKHiddenContextItemwith defaultThreadItemConverterhandling to store ChatKit-added hidden context in threads.
Breaking:
- Widget and action classes remain usable but are marked deprecated in favor of using
WidgetTemplate jinja2is 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_optionsto change this.
v1.3.1
- Add optional
groupfield toUserMessageTagContent - Update default
ThreadItemConverterto handle simpleHiddenContextItemconversions - Add
ThreadItemUpdatedEventand updateThreadItemUpdatedto be a type alias for the former for backwards compatibility - Add
BasicRootwidget type to allow server-side building of entity preview widgets
v1.3.0
- Fix type for Checkbox
defaultChecked
v1.2.0
- Added support for streaming annotations in
agents.stream_agent_response - Added support for rendering container_file_citation in
agents.stream_agent_response
v1.1.2
v1.1.1
v1.1.0
- Fix thread persistence (store now receives
ThreadMetadatacorrectly). - Drop Python 3.11-only features. Now works cleanly on Python 3.10.
- Allow the
payloadfield onActionto be undefined by defaulting toNone
Breaking:
- Restrict the
iconfield onCustomSummary,CustomTask, andEntitySourcetypes toIconName(previouslystr). - Update all
ThreadItemConvertermethods to be asynchronous.
v1.0.2
- Loosen the type of
chatkit.agents.ClientToolCall.argumentsfromdict[str, str]todict[str, Any].ClientToolCall.argumentscan be any JSON serializable object.
v1.0.1
Initial release
Merge pull request #14 from openai/jiwon/bump-version 1.0.0 version bump