diff --git a/src/cli/components/MemoryTabViewer.tsx b/src/cli/components/MemoryTabViewer.tsx index 07018e9..77ff697 100644 --- a/src/cli/components/MemoryTabViewer.tsx +++ b/src/cli/components/MemoryTabViewer.tsx @@ -49,7 +49,9 @@ export function MemoryTabViewer({ const fetchBlocks = async () => { try { const client = await getClient(); - const agent = await client.agents.retrieve(agentId); + const agent = await client.agents.retrieve(agentId, { + include: ["agent.blocks"], + }); setFreshBlocks(agent.memory?.blocks || []); } catch (error) { console.error("Failed to fetch memory blocks:", error); diff --git a/src/cli/profile-selection.tsx b/src/cli/profile-selection.tsx index fe96008..8b9d622 100644 --- a/src/cli/profile-selection.tsx +++ b/src/cli/profile-selection.tsx @@ -120,7 +120,9 @@ function ProfileSelectionUI({ const fetchedOptions = await Promise.all( optionsToFetch.map(async (opt) => { try { - const agent = await client.agents.retrieve(opt.agentId); + const agent = await client.agents.retrieve(opt.agentId, { + include: ["agent.blocks"], + }); return { ...opt, agent }; } catch { return { ...opt, agent: null };