chainlit run.
Supported Features
| Message | Streaming | Elements | Audio | Ask User | Chat History | Chat Profiles | Feedback |
|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |

URL Parameters
The Chainlit web app supports the following URL query parameters:| Parameter | Description |
|---|---|
prompt | Pre-fills the chat input with the given text. The user can edit or clear it before sending. |
Since version 2.9.1.
Window Messaging
When running the Web App inside an iframe, the server and parent window can communicate using window messages. This is useful for sending context information to the Chainlit server and updating your parent window based on the server’s response. Add a@cl.on_window_message decorated function to your Chainlit server to receive messages sent from the parent window.
cl.send_window_message: