Skip to content

Commit acbbdb7

Browse files
JoaoCampistacopybara-github
authored andcommitted
Copybara import of the project:
-- 709e1dd by joao.campista <[email protected]>: feat: add ordering to recent events in database session service COPYBARA_INTEGRATE_REVIEW=#454 from lugui-co:main 912503f PiperOrigin-RevId: 753013663
1 parent 27ce65f commit acbbdb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/google/adk/sessions/database_session_service.py

+1
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ def get_session(
386386
else True
387387
)
388388
.limit(config.num_recent_events if config else None)
389+
.order_by(StorageEvent.timestamp.asc())
389390
.all()
390391
)
391392

0 commit comments

Comments
 (0)