Skip to content

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

fix(settings): correct AI panel test and ledger section behaviour

Steven Enamakel6be96a9cd2ce
diff --git a/app/src/components/settings/panels/__tests__/AIPanel.omlx.test.tsx b/app/src/components/settings/panels/__tests__/AIPanel.omlx.test.tsx
index 2498c2e912..061521e5ed 100644
--- a/app/src/components/settings/panels/__tests__/AIPanel.omlx.test.tsx
+++ b/app/src/components/settings/panels/__tests__/AIPanel.omlx.test.tsx
@@ -22,7 +22,7 @@ import { openhumanUpdateLocalAiSettings as openhumanUpdateLocalAiSettingsMock }
import AIPanel from '../AIPanel';
vi.mock('../../../../services/api/aiSettingsApi', () => ({
- ALL_WORKLOADS: ['chat', 'reasoning', 'agentic', 'coding', 'memory', 'embeddings', 'learning'],
+ ALL_WORKLOADS: ['chat', 'reasoning', 'agentic', 'coding', 'memory', 'embeddings'],
loadAISettings: vi.fn(),
saveAISettings: vi.fn(),
loadLocalProviderSnapshot: vi.fn(),
diff --git a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx b/app/src/components/settings/panels/__tests__/AIPanel.test.tsx
index 4d5e914704..173a0feb45 100644
--- a/app/src/components/settings/panels/__tests__/AIPanel.test.tsx
+++ b/app/src/components/settings/panels/__tests__/AIPanel.test.tsx
@@ -2174,8 +2174,6 @@ describe('AIPanel', () => {
expect(screen.getByText('Recent usage ledger')).toBeInTheDocument();
expect(screen.getByText('Loop map')).toBeInTheDocument();
- expect(screen.getByText('Memory tree workers')).toBeInTheDocument();
- expect(screen.getByText('Reflection rebuild')).toBeInTheDocument();
expect(screen.getByText('Composio sync')).toBeInTheDocument();
expect(screen.getByText('Week budget')).toBeInTheDocument();
@@ -2193,7 +2191,6 @@ describe('AIPanel', () => {
expect(screen.getByText('API reads per $ remaining')).toBeInTheDocument();
expect(screen.getByText('Loop call budget')).toBeInTheDocument();
expect(screen.getByText('Composio sync scans')).toBeInTheDocument();
- expect(screen.getByText('Memory worker polls')).toBeInTheDocument();
expect(screen.getByText('MEMORY_SUMMARY')).toBeInTheDocument();
expect(screen.getByText('SPEND:USAGE_DEDUCTION:USER')).toBeInTheDocument();
diff --git a/app/src/components/settings/panels/__tests__/aiRouting.test.ts b/app/src/components/settings/panels/__tests__/aiRouting.test.ts
index 526e3c1626..047fd02583 100644
--- a/app/src/components/settings/panels/__tests__/aiRouting.test.ts
+++ b/app/src/components/settings/panels/__tests__/aiRouting.test.ts
@@ -7,7 +7,7 @@ import {
toSelectableChatModels,
} from '../aiRouting';
-const WORKLOADS = ['chat', 'reasoning', 'agentic', 'coding', 'memory', 'learning'] as const;
+const WORKLOADS = ['chat', 'reasoning', 'agentic', 'coding', 'memory'] as const;
/** Build a full 8-workload routing map defaulting every slot to managed. */
function routingOf(
diff --git a/app/src/components/settings/panels/ai/UsageLedgerSection.tsx b/app/src/components/settings/panels/ai/UsageLedgerSection.tsx
index 0811396ec2..43cfbd2271 100644
--- a/app/src/components/settings/panels/ai/UsageLedgerSection.tsx
+++ b/app/src/components/settings/panels/ai/UsageLedgerSection.tsx
@@ -234,11 +234,6 @@ export const UsageLedgerSection = ({
)}
detail={t('settings.ai.totalApiReadBudgetDetail')}
/>
- <FormulaRow
- label={t('settings.ai.memoryWorkerPolls')}
- value={t('settings.ai.perWeekMax').replace('{count}', formatCount(memoryPollsPerWeek))}
- detail={t('settings.ai.memoryWorkerPollsDetail')}
- />
</Card>
</div>