We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b196a commit a4db3ccCopy full SHA for a4db3cc
tests/playwright/shiny/components/chat/basic/app.py
@@ -17,9 +17,8 @@
17
18
# Define a callback to run when the user submits a message
19
@chat.on_user_submit
20
-async def _():
21
- user_msg = chat.user_input()
22
- await chat.append_message(f"You said: {user_msg}")
+async def handle_user_input(user_input: str):
+ await chat.append_message(f"You said: {user_input}")
23
24
25
"Message state:"
0 commit comments