await client.memories.create(7, {
title: "Subscription plan",
content: "The user is on the Pro plan.",
agent_user_id: 42,
memory_type: "fact",
});
const result = await client.memories.search(
7,
42,
"What plan is the user on?",
5,
);
console.log(result.context, result.has_context);