The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(memory): expect preview flag in explorer list calls
Steven Enamakela3832404fa17
diff --git a/app/src/components/memory/MemoryExplorerTab.test.tsx b/app/src/components/memory/MemoryExplorerTab.test.tsxindex 75b0c5e5b6..5792ff84ba 100644--- a/app/src/components/memory/MemoryExplorerTab.test.tsx+++ b/app/src/components/memory/MemoryExplorerTab.test.tsx@@ -84,7 +84,7 @@ describe('MemoryExplorerTab', () => {await waitFor(() =>expect(hoisted.explore).toHaveBeenLastCalledWith({ facet: 'source', path, limit: 50 }));- expect(hoisted.list).toHaveBeenLastCalledWith({ path, limit: 20 });+ expect(hoisted.list).toHaveBeenLastCalledWith({ path, limit: 20, preview: true });expect(screen.getByTestId('memory-explorer-step-0')).toHaveTextContent('Document');const select = screen.getByTestId('memory-explorer-facet') as HTMLSelectElement;expect(select.value).toBe('source');@@ -127,7 +127,12 @@ describe('MemoryExplorerTab', () => {renderWithProviders(<MemoryExplorerTab />);fireEvent.click(await screen.findByTestId('memory-explorer-more'));expect(await screen.findByTestId('memory-explorer-item-d2')).toBeInTheDocument();- expect(hoisted.list).toHaveBeenLastCalledWith({ path: [], limit: 20, cursor: 'c2' });+ expect(hoisted.list).toHaveBeenLastCalledWith({+ path: [],+ limit: 20,+ cursor: 'c2',+ preview: true,+ });});it('shows an explore failure with a retry', async () => {