Updating Chainlit
Begin the migration by updating Chainlit to the latest version:What changes?
Chainlit 2.3.0 adds the ability to render Steps expanded by default usingcl.Step(default_open=True). The chosen value is persisted in a new defaultOpen column in the steps table.
Full changelog available here.
How to migrate?
1. Update the database schema
A newdefaultOpen column must be added to the steps table.
- Official data layer
- SQLAlchemy / Custom SQL
The Official data layer Prisma schema has not been updated to include this column. Run the following migration manually against your database:
DynamoDB users do not need to run any migration — the schema is dynamic.