Skip to content

docs(sqlalchemy): add missing "autoCollapse" column to steps table schema - #282

Open
reinermaia wants to merge 1 commit into
Chainlit:mainfrom
reinermaia:patch-1
Open

reinermaia wants to merge 1 commit into
Chainlit:mainfrom
reinermaia:patch-1

Conversation

@reinermaia

Copy link
Copy Markdown

Description
This PR updates the PostgreSQL schema definition in the SQLAlchemy Data Layer documentation to include the "autoCollapse" column in the steps table, as well as updating the version warning table.

Context & Motivation
In Chainlit 2.10.0, the autoCollapse attribute was introduced in StepDict. When persisting steps via SQLAlchemyDataLayer, the framework dynamically generates an INSERT statement containing all keys from step_dict, including "autoCollapse".

Users creating the database according to the official documentation schema encounter:

asyncpg.exceptions.UndefinedColumnError: column "autoCollapse" of relation "steps" does not exist

docs(sqlalchemy): add missing autoCollapse column to steps schema

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant