Skip to content

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

fix(tests,docs): remove stale local-model onboarding flags from tests and clarify local AI setup

Steven Enamakel4b295f4848b4
diff --git a/app/src/components/settings/panels/ToolsPanel.test.tsx b/app/src/components/settings/panels/ToolsPanel.test.tsx
index 20a7e3bb2a..17824b2e56 100644
--- a/app/src/components/settings/panels/ToolsPanel.test.tsx
+++ b/app/src/components/settings/panels/ToolsPanel.test.tsx
@@ -33,8 +33,6 @@ function coreState(enabledTools: string[]) {
localState: {
onboardingTasks: {
accessibilityPermissionGranted: false,
- localModelConsentGiven: false,
- localModelDownloadStarted: false,
enabledTools,
connectedSources: [],
},
@@ -118,8 +116,6 @@ describe('<ToolsPanel /> — saving tools preserves the onboarding flags it does
localState: {
onboardingTasks: {
accessibilityPermissionGranted: true,
- localModelConsentGiven: true,
- localModelDownloadStarted: true,
enabledTools: ['shell'],
connectedSources: ['gmail'],
},
@@ -147,8 +143,8 @@ describe('<ToolsPanel /> — saving tools preserves the onboarding flags it does
const saved = mocks.setOnboardingTasks.mock.calls[0][0];
// The flags this panel does not own must survive its save untouched. A
- // hardcoded `false` here silently revokes a recorded macOS permission and
- // a recorded local-model consent every time someone edits tool settings.
+ // hardcoded `false` here silently revokes a recorded macOS permission
+ // every time someone edits tool settings.
expect(saved.accessibilityPermissionGranted).toBe(true);
expect(saved.connectedSources).toEqual(['gmail']);
diff --git a/app/src/pages/onboarding/__tests__/OnboardingLayout.test.tsx b/app/src/pages/onboarding/__tests__/OnboardingLayout.test.tsx
index 2da150fd11..ed30d303de 100644
--- a/app/src/pages/onboarding/__tests__/OnboardingLayout.test.tsx
+++ b/app/src/pages/onboarding/__tests__/OnboardingLayout.test.tsx
@@ -273,8 +273,6 @@ describe('OnboardingLayout — Joyride walkthrough integration (#1123)', () => {
const existing = ['shell', 'cron_add', 'cron_list'];
const { mockSetOnboardingTasks } = await setupLayout({
accessibilityPermissionGranted: false,
- localModelConsentGiven: false,
- localModelDownloadStarted: false,
enabledTools: existing,
connectedSources: [],
updatedAtMs: 1,
@@ -308,8 +306,6 @@ describe('OnboardingLayout — Joyride walkthrough integration (#1123)', () => {
it('carries a recorded accessibility permission through onboarding completion', async () => {
const { mockSetOnboardingTasks } = await setupLayout({
accessibilityPermissionGranted: true,
- localModelConsentGiven: false,
- localModelDownloadStarted: false,
enabledTools: ['shell'],
connectedSources: [],
updatedAtMs: 1,
diff --git a/gitbooks/features/obsidian-wiki/memory-tree.md b/gitbooks/features/obsidian-wiki/memory-tree.md
index d72032f05a..b3171e9374 100644
--- a/gitbooks/features/obsidian-wiki/memory-tree.md
+++ b/gitbooks/features/obsidian-wiki/memory-tree.md
@@ -42,7 +42,7 @@ retrieval search / drill_down / topic / global / fetch
The hot path (canonicalize → chunk → fast-score → persist → enqueue follow-up work) is fast. Heavy work - embeddings, entity extraction, sealing summary buckets, daily digests - runs in background workers so the UI never blocks.
-Embeddings and summary-tree building can run **on-device via Ollama** if you turn on [Local AI](../model-routing/local-ai.md); otherwise they go through the OpenHuman backend like any other model call.
+Embeddings and summary-tree building can run **on-device via Ollama** if you set up [Local AI](../model-routing/local-ai.md): run Ollama yourself, pull the models (for example `ollama pull bge-m3`), and route the workloads to it. Otherwise they go through the OpenHuman backend like any other model call.
## Three trees, three scopes
diff --git a/gitbooks/features/obsidian-wiki/scoring.md b/gitbooks/features/obsidian-wiki/scoring.md
index e22527a83f..0647459b2e 100644
--- a/gitbooks/features/obsidian-wiki/scoring.md
+++ b/gitbooks/features/obsidian-wiki/scoring.md
@@ -101,7 +101,7 @@ Scoring also produces vectors. The embedder in [`score/embed/`](https://github.c
The active embedder is selected by `build_embedder_from_config` ([`embed/factory.rs`](https://github.com/tinyhumansai/tinymemory/blob/1d6b997874a06600ba0c4922708b5613497c9ffe/crates/tinymemory-core/src/tree/score/embed/factory.rs)) walking a resolution ladder, identical for read and write paths:
1. **Explicit Ollama override** (`memory_tree.embedding_endpoint` + `embedding_model`) - power users / E2E rigs.
-2. **Local Ollama** via the unified `embeddings` workload setting - the "Memory embeddings" checkbox in [Local AI](../model-routing/local-ai.md) Settings.
+2. **Local Ollama** via the unified `embeddings` workload setting (`embeddings_provider = "ollama:<model>"`, or Ollama chosen under **Connections → Embeddings**). See [Local AI](../model-routing/local-ai.md); you pull the model yourself.
3. **User-configured OpenAI-compatible** endpoint (`OpenAiCompatEmbedder`, e.g. LM Studio).
4. **Managed cloud** (`CloudEmbedder`, OpenHuman backend / Voyage) - the default once logged in.
5. **No provider** - the read path falls back to `InertEmbedder` (zero vectors) so retrieval still runs; the write path returns `None`, skips embedding, and flags `semantic_recall` degraded so the chunk can be re-embedded later.
diff --git a/gitbooks/features/privacy-and-security.md b/gitbooks/features/privacy-and-security.md
index 45bee0a39c..071299016c 100644
--- a/gitbooks/features/privacy-and-security.md
+++ b/gitbooks/features/privacy-and-security.md
@@ -18,7 +18,7 @@ OpenHuman is designed so that the **memory of your life lives on your machine**.
**No training on your data.** Your conversations, your Memory Tree, and your personal information are never used to train AI models or improve systems.
-**Optional** [**Local AI**](model-routing/local-ai.md)**.** If you want embeddings and summary-tree building to stay on your machine, opt in. Learning and reflection passes can be moved on-device the same way.
+**Optional** [**Local AI**](model-routing/local-ai.md)**.** If you want embeddings and summary-tree building to stay on your machine, run a local runtime such as Ollama, pull the models yourself, and add it as a provider. Learning and reflection passes, and chat if you choose, can be moved on-device the same way. OpenHuman does not install the runtime or download models.
---