You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
e218254495
The new Sqlite version has fixed schema and use a single column to store Event data, this should avoid DB migration for future add to the Event object. - This change introduces `SqliteSessionService`, an asynchronous session service using `aiosqlite` that stores event data as JSON within SQLite. - A migration script, `migrate_from_sqlalchemy_sqlite.py`, is included to transition data from the older SQLAlchemy-based SQLite schema to this new format. - The CLI service registry is updated to use SqliteSessionService for sqlite:// URIs. - Throw error when user trying to access a legacy DB and advice the user to do the migration. Co-authored-by: Shangjie Chen <deanchen@google.com> PiperOrigin-RevId: 829971174