8000 Sessions table with DatabaseSessionService does not get updated · Issue #2721 · google/adk-python · GitHub 10BC0
[go: up one dir, main page]

Skip to content

Sessions table with DatabaseSessionService does not get updated #2721

@marcopellegrino-devoteam

Description

Describe the bug
The fields in the sessions table are never getting updated. For example lastUpdateTime sticks to the time the session was created, and the events field is not updated if new messages are sent.

To Reproduce

  1. Create a session
  2. Send a few messages
  3. Inspect the the sessions via API (/apps/{app_name}/users/{user_id}/sessions) or in my case also via SQL query because I use a DatabaseSessionService (AlloyDB).

Expected behavior
The lastUpdateTime field should be updated with the timestamp of the last message and the events should contain the sessions events.

  • Python version: 3.11
  • ADK version: 1.11.0

Metadata

Metadata

Labels

services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0