mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-12 03:19:34 -06:00
Copybara import of the project: -- d01a8fd5f079bc4fca9e4b71796dbe65312ce9ff by Leo Yongsul Kim <ystory84@gmail.com>: fix(DatabaseSessionService): Align event filtering and ordering logic This commit addresses inconsistencies in how DatabaseSessionService handles config.after_timestamp and config.num_recent_events parameters, aligning its behavior with InMemorySessionService and VertexAiSessionService. Key changes: - Made after_timestamp filtering inclusive - Corrected num_recent_events behavior to fetch the N most recent events - Refined timezone handling for after_timestamp - Updated the unit test test_get_session_with_config to includeSessionServiceType.DATABASE, allowing verification of these fixes. Fixes #911 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/915 from ystory:fix/database-session-timestamp-recency 5cc8cf5f5a5c0cb3e87f6ab178a5725d3f696c88 PiperOrigin-RevId: 763874840 |
||
|---|---|---|
| .. | ||
| agents | ||
| artifacts | ||
| auth | ||
| cli | ||
| code_executors | ||
| evaluation | ||
| fast_api | ||
| flows | ||
| models | ||
| sessions | ||
| streaming | ||
| tools | ||
| utils | ||
| __init__.py | ||
| conftest.py | ||
| testing_utils.py | ||