mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
Copybara import of the project:
-- 709e1dd079d03d7eb4d742b9448ed3d1b946ff30 by joao.campista <joaocampista@proton.me>: feat: add ordering to recent events in database session service COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/454 from lugui-co:main 912503f972c9cbd8982f2b7f8b210d4e0fe08b69 PiperOrigin-RevId: 753013663
This commit is contained in:
parent
27ce65ff50
commit
acbbdb7266
@ -386,6 +386,7 @@ class DatabaseSessionService(BaseSessionService):
|
||||
else True
|
||||
)
|
||||
.limit(config.num_recent_events if config else None)
|
||||
.order_by(StorageEvent.timestamp.asc())
|
||||
.all()
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user