Join the discord for live updates:

Updating Chainlit

Begin the migration by updating Chainlit to the latest version:

pip install --upgrade chainlit

What changes?

Full changelog available here.

How to migrate?

Rename the multi_modal config setting

The multi_modal config setting has been renamed spontaneous_file_upload. You can either remove the entire ./chainlit/config.toml file and restart your app or rename the multi_modal setting manually (example here).

The cl.Message.send() method no longer returns the id of the message but the message itself. If you were using the id, you will need to update your code.