Skip to content

Commit b16e8a2

Browse files
committed
bugfix
1 parent 39a780f commit b16e8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shiny/ui/_chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ async def _transform_message(
956956
if content is None:
957957
return None
958958

959-
res[key] = content # type: ignore
959+
setattr(res, key, content)
960960

961961
return res
962962

0 commit comments

Comments
 (0)