Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(aui): name the memory tool on the chips hook

M3gA-Mindb65ea349ab67
diff --git a/app/src/features/conversations/aui/ChatMemoryChips.tsx b/app/src/features/conversations/aui/ChatMemoryChips.tsx
index 77172d1bdc..be3e4d874a 100644
--- a/app/src/features/conversations/aui/ChatMemoryChips.tsx
+++ b/app/src/features/conversations/aui/ChatMemoryChips.tsx
@@ -80,6 +80,11 @@ function createMemoryToolCall(toolName: string): ToolCallMessagePartComponent {
if (chips.length === 0) return null;
return (
<MemoryChips
+ // The vendored element carries only `data-slot="memory-chips"`, which
+ // every instance shares. `toolName` makes the hook name which memory
+ // tool produced these chips, so a spec can tell a `memory_store` write
+ // from a `memory_recall` read in a turn that did both.
+ data-testid={`chat-memory-chips-${toolName}`}
chips={chips}
headingRememberedLabel={n =>
t('conversations.memoryChips.remembered').replace('{n}', String(n))