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(
327327 await self .session_service .append_event (session = session , event = event )
328328 yield event
329329
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-
340330 def _find_agent_to_run (
341331 self , session : Session , root_agent : BaseAgent
342332 ) -> BaseAgent :
Original file line number Diff line number Diff line change @@ -91,10 +91,6 @@ async def delete_session(
9191 ) -> None :
9292 """Deletes a session."""
9393
94- async def close_session (self , * , session : Session ):
95- """Closes a session."""
96- # TODO: determine whether we want to finalize the session here.
97-
9894 async def append_event (self , session : Session , event : Event ) -> Event :
9995 """Appends an event to a session object."""
10096 if event .partial :
You can’t perform that action at this time.
0 commit comments