Skip to content

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

fix(init): handle missing embeddings API gracefully

Steven Enamakelf7d221e21779
diff --git a/app/src/components/InitProgressScreen/InitProgressScreen.test.tsx b/app/src/components/InitProgressScreen/InitProgressScreen.test.tsx
index 9948759214..24168698b8 100644
--- a/app/src/components/InitProgressScreen/InitProgressScreen.test.tsx
+++ b/app/src/components/InitProgressScreen/InitProgressScreen.test.tsx
@@ -21,8 +21,8 @@ function snapshot(overrides: Partial<HarnessInitSnapshot> = {}): HarnessInitSnap
updatedAt: null,
},
{
- id: 'spacy',
- label: 'spaCy',
+ id: 'kompress',
+ label: 'Compression runtime',
required: false,
state: 'running',
message: null,
@@ -50,7 +50,7 @@ describe('InitProgressScreen', () => {
);
expect(screen.getByText('Python runtime')).toBeInTheDocument();
- expect(screen.getByText('Language model')).toBeInTheDocument();
+ expect(screen.getByText('Compression runtime')).toBeInTheDocument();
expect(screen.getByText('Node.js runtime')).toBeInTheDocument();
expect(screen.getByText('Ready')).toBeInTheDocument();
expect(screen.getByText('Installing…')).toBeInTheDocument();
@@ -76,8 +76,8 @@ describe('InitProgressScreen', () => {
overall: 'failed',
steps: [
{
- id: 'spacy',
- label: 'spaCy',
+ id: 'kompress',
+ label: 'Compression runtime',
required: false,
state: 'failed',
message: 'pip install timed out',
diff --git a/app/src/services/api/embeddingsApi.ts b/app/src/services/api/embeddingsApi.ts
index 549025bb7c..23befa054f 100644
--- a/app/src/services/api/embeddingsApi.ts
+++ b/app/src/services/api/embeddingsApi.ts
@@ -30,11 +30,10 @@ export interface EmbeddingsSettings {
/** The picker's own setting (`config.memory.embedding_provider`). */
provider: string;
/**
- * The embedder ingestion will **actually** use, resolved core-side by the
- * memory-tree provider ladder (#5402). Ask this — not `provider` — when the
+ * The embedder the core will **actually** use, resolved core-side (#5402). Ask this — not `provider` — when the
* question is "do these embeddings bill against the managed budget?": the
- * Local AI "Memory embeddings" toggle and the `memory_tree.embedding_endpoint`
- * override both route to local Ollama without rewriting `provider`.
+ * Local AI "Memory embeddings" toggle routes to local Ollama without
+ * rewriting `provider`.
*
* One of `ollama` | `custom` | `cloud` | `none` | `unconfigured` | `unknown`.
* Optional so an older core (or a stubbed test payload) degrades to `provider`
diff --git a/app/src/services/harnessInitService.test.ts b/app/src/services/harnessInitService.test.ts
index fec0c31e45..06850e6de4 100644
--- a/app/src/services/harnessInitService.test.ts
+++ b/app/src/services/harnessInitService.test.ts
@@ -20,8 +20,8 @@ describe('parseHarnessInitSnapshot', () => {
updated_at: '2026-06-23T00:00:01Z',
},
{
- id: 'spacy',
- label: 'spaCy',
+ id: 'kompress',
+ label: 'Compression runtime',
required: false,
state: 'running',
message: null,
@@ -37,7 +37,7 @@ describe('parseHarnessInitSnapshot', () => {
expect(snap?.startedAt).toBe('2026-06-23T00:00:00Z');
expect(snap?.steps).toHaveLength(2);
expect(snap?.steps[0]).toMatchObject({ id: 'python_runtime', state: 'done', percent: 100 });
- expect(snap?.steps[1]).toMatchObject({ id: 'spacy', state: 'running', percent: null });
+ expect(snap?.steps[1]).toMatchObject({ id: 'kompress', state: 'running', percent: null });
});
it('returns null when the envelope has no snapshot', () => {