diff --git a/llama_stack/providers/impls/meta_reference/agents/agents.py b/llama_stack/providers/impls/meta_reference/agents/agents.py index ca5a00359..13d9044fd 100644 --- a/llama_stack/providers/impls/meta_reference/agents/agents.py +++ b/llama_stack/providers/impls/meta_reference/agents/agents.py @@ -169,7 +169,7 @@ class MetaReferenceAgentsImpl(Agents): turn_ids: Optional[List[str]] = None, ) -> Session: session = await self.persistence_store.get(f"session:{agent_id}:{session_id}") - session = Session(**json.loads(session)) + session = Session(**json.loads(session), turns=[]) turns = [] if turn_ids: for turn_id in turn_ids: