-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
Describe the bug
DatabaseSessionService is not working for postgresql and i;m using working combination of Google-adk and AG UI
To Reproduce
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:
- Install
python version - 3.12.9
google-adk - 1.18.0 - Run via ag-ui protocol
- Open '....'
- Provide error or stacktrace
Expected behavior
I'm using the postgresql here for DatabaseSessionService and it can't able to persist the information in events tables in postgres
agent= ADKAgent( adk_agent=agent, user_id_extractor=extract_user_id, app_name_extractor=extract_app_name, session_timeout_seconds=3600, session_service=DatabaseSessionService(db_url=POSTGRES_DB_URL), use_in_memory_services=True, memory_service=shared_memory_service, )
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MAC
- Python version(python -V): 3.12.9
- ADK version(pip show google-adk): 1.18.0
Model Information:
- Are you using LiteLLM: Yes/No : no
- Which model is being used(e.g. gemini-2.5-pro): gemini-2.5-flash
Additional context
Add any other context about the problem here.