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
chore: files changed app/src/components/memory/MemoryConversationsTab.tsx,app/src/services/api/memor
Steven Enamakel260447f08255
diff --git a/app/src/components/memory/MemoryConversationsTab.tsx b/app/src/components/memory/MemoryConversationsTab.tsxindex 3ee2532db5..4d4169bbc6 100644--- a/app/src/components/memory/MemoryConversationsTab.tsx+++ b/app/src/components/memory/MemoryConversationsTab.tsx@@ -18,6 +18,7 @@ import {} from '../../services/api/memoryApi';import { Alert, AlertDescription, Card, NumberField, Switch } from '../ui';import { CenteredLoadingState } from '../ui/LoadingState';+import MemoryConversationsBackfill from './MemoryConversationsBackfill';import { fill, formatTimestamp, parsePositiveInt } from './memoryFormat';const log = debug('openhuman:memory:conversations');@@ -152,6 +153,8 @@ export default function MemoryConversationsTab() {</div></Card>+ <MemoryConversationsBackfill />+<Cardtitle={t('memoryPage.conversations.recentTitle')}data-testid="memory-conversations-recent">diff --git a/app/src/services/api/memoryApi.ts b/app/src/services/api/memoryApi.tsindex ef7e4bb196..86df84db67 100644--- a/app/src/services/api/memoryApi.ts+++ b/app/src/services/api/memoryApi.ts@@ -354,6 +354,25 @@ export interface ImportState {error?: string | null;}+/** Progress of storing past chats (`memory_conversations_backfill_*`). */+export interface BackfillState {+ phase: ImportPhase;+ threads_total: number;+ threads_done: number;+ turns_stored: number;+ items_stored: number;+ error?: string | null;+ finished_at?: string | null;+}++export interface BackfillView {+ state: BackfillState;+ /** Threads that still have turns from before automatic saving. */+ pending_threads: number;+ /** Turns still to store across them. */+ pending_turns: number;+}+/** The structured error codes a memory RPC can fail with. */export type MemoryErrorCode =| 'MEMORY_OFF'@@ -552,6 +571,15 @@ export function memoryImportStart(): Promise<{ state: ImportState }> {return call<{ state: ImportState }>(CORE_RPC_METHODS.memoryImportStart, { consent: true });}+export function memoryConversationsBackfillStatus(): Promise<BackfillView> {+ return call<BackfillView>(CORE_RPC_METHODS.memoryConversationsBackfillStatus);+}++/** Starts storing past chats. Only the consent dialog calls this. */+export function memoryConversationsBackfillStart(): Promise<BackfillView> {+ return call<BackfillView>(CORE_RPC_METHODS.memoryConversationsBackfillStart, { consent: true });+}+export function memoryImportStatus(): Promise<{ state: ImportState }> {return call<{ state: ImportState }>(CORE_RPC_METHODS.memoryImportStatus);}