feat: Update SQLModel dependency and improve UUID handling (#4891)
* Update sqlmodel dependency to version 0.0.20 in pyproject.toml * Handle UUID conversion for message IDs in memory update logic * Refactor Alembic migrations to use `sa.inspect` and update GUID to Uuid type * refactor: Change flow_id parameter type from str to uuid.UUID in graph building functions * refactor: Ensure UUID handling for flow_id and user_id across various services and models * refactor: improve UUID handling and graph caching for compatibility with sqlmodel 0.0.20 * fix: update message assertion in component events test * chore: update sqlmodel dependency to version 0.0.22 in uv.lock and pyproject.toml * fix: enhance flow_id validation to ensure valid UUID format in MessageBase model * fix: add error handling for cache directory cleanup * refactor: improve flow_id type handling in message storage * refactor: enhance flow_id handling in message functions to support UUID type * refactor: integrate Properties into message creation in component event tests * update test durations * fix: correct flow_id parameter in database query * refactor: update session_id and flow_id parameters to support UUID type across message handling functions and models * fix: handle message data update in SQLModel update method * refactor: improve flow_id assignment in message update method to enhance UUID handling
This commit is contained in:
parent
4cc336fa45
commit
3de42f4575
55 changed files with 1035 additions and 898 deletions
|
|
@ -114,10 +114,10 @@ dependencies = [
|
|||
"langchain~=0.3.3",
|
||||
"langchain-core~=0.3.15",
|
||||
"langchainhub~=0.1.15",
|
||||
"sqlmodel==0.0.18",
|
||||
"loguru>=0.7.1,<1.0.0",
|
||||
"rich>=13.7.0,<14.0.0",
|
||||
"langchain-experimental>=0.0.61,<1.0.0",
|
||||
"sqlmodel==0.0.22",
|
||||
"pydantic~=2.7.0",
|
||||
"pydantic-settings>=2.2.0,<3.0.0",
|
||||
"typer>=0.13.0,<1.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue