File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -327,16 +327,6 @@ async def run_live(
327
327
await self .session_service .append_event (session = session , event = event )
328
328
yield event
329
329
330
- async def close_session (self , session : Session ):
331
- """Closes a session and adds it to the memory service (experimental feature).
332
-
333
- Args:
334
- session: The session to close.
335
- """
336
- if self .memory_service :
337
- await self .memory_service .add_session_to_memory (session )
338
- await self .session_service .close_session (session = session )
339
-
340
330
def _find_agent_to_run (
341
331
self , session : Session , root_agent : BaseAgent
342
332
) -> BaseAgent :
Original file line number Diff line number Diff line change @@ -91,10 +91,6 @@ async def delete_session(
91
91
) -> None :
92
92
"""Deletes a session."""
93
93
94
- async def close_session (self , * , session : Session ):
95
- """Closes a session."""
96
- # TODO: determine whether we want to finalize the session here.
97
-
98
94
async def append_event (self , session : Session , event : Event ) -> Event :
99
95
"""Appends an event to a session object."""
100
96
if event .partial :
You can’t perform that action at this time.
0 commit comments