Skip to content

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

fix(chat): restore missing chat memory chips test

Steven Enamakelac94d4134773
diff --git a/app/src/features/conversations/aui/ChatMemoryChips.test.tsx b/app/src/features/conversations/aui/ChatMemoryChips.test.tsx
index 4794d8bbe2..c3493bcee2 100644
--- a/app/src/features/conversations/aui/ChatMemoryChips.test.tsx
+++ b/app/src/features/conversations/aui/ChatMemoryChips.test.tsx
@@ -1,9 +1,7 @@
import type { ToolCallMessagePartProps } from '@assistant-ui/react';
import { render, screen } from '@testing-library/react';
-import type { ReactElement } from 'react';
import { describe, expect, it } from 'vitest';
-import { I18nProvider } from '../../../lib/i18n/I18nContext';
import {
MemoryHybridSearchCall,
MemoryRecallCall,
@@ -11,10 +9,6 @@ import {
memoryToolChips,
} from './ChatMemoryChips';
-function withI18n(node: ReactElement) {
- return render(<I18nProvider>{node}</I18nProvider>);
-}
-
/** The prop fields every `ToolCallMessagePartComponent` requires, beyond `args`/`result`. */
function toolCallProps(
toolName: string,