From 4841ea4dab5d3c4a06b6353c98fd39739dd2b42d Mon Sep 17 00:00:00 2001 From: Carson Date: Wed, 6 Aug 2025 18:08:27 -0500 Subject: [PATCH] fix(pkg-py): fix messages input type for express Chat.ui() method --- pkg-py/src/shinychat/_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg-py/src/shinychat/_chat.py b/pkg-py/src/shinychat/_chat.py index 94439934..30f7e31b 100644 --- a/pkg-py/src/shinychat/_chat.py +++ b/pkg-py/src/shinychat/_chat.py @@ -1603,7 +1603,7 @@ class ChatExpress(Chat): def ui( self, *, - messages: Optional[Sequence[str | ChatMessageDict]] = None, + messages: Optional[Sequence[TagChild | ChatMessageDict]] = None, placeholder: str = "Enter a message...", width: CssUnit = "min(680px, 100%)", height: CssUnit = "auto",