From c7c353d67a2feeded0173566746e576b6c788854 Mon Sep 17 00:00:00 2001 From: Paul Felt Date: Thu, 6 Nov 2025 08:12:36 -0700 Subject: [PATCH] Add ListView to the WidgetComponent Union Added ListView to the possible children of Card (WidgetComponent). This is in line with: 1. Docs here https://platform.openai.com/docs/guides/chatkit-widgets 2. Widgets generated by the Widget Builder (which create widgets like the following, where ListView is a child of Card ``` {expanded && ( )} ``` --- chatkit/widgets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chatkit/widgets.py b/chatkit/widgets.py index e991f2a..4416f51 100644 --- a/chatkit/widgets.py +++ b/chatkit/widgets.py @@ -1022,6 +1022,7 @@ class LineSeries(BaseModel): | Divider | Icon | Image + | ListView | ListViewItem | Button | Checkbox