Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/harness-omp/config/config.gateway-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@
# --- role -> model mapping ---------------------------------------------------
modelRoles:
default: llm/zai/GLM-5.2
# advisor pinned in-family: after the 2026-07 advisor 402 storm (advisor role
# resolved to a credit-dead paid provider, one failed call per primary turn,
# no circuit-breaker), the advisor role is always pinned explicitly.
advisor: llm/zai/GLM-5.2:low

# --- skill discovery scoping (the ~16.5k lever; tools deliberately untouched) -
skills:
includeSkills: [local-model-triage]
includeSkills: [estate-orient, local-model-triage]
enablePiUser: true # ~/.omp/agent/skills (omp-native user dir)
enablePiProject: true # .omp/skills in-repo
enableClaudeUser: false
Expand Down
6 changes: 5 additions & 1 deletion packages/harness-omp/config/config.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ includeWorkspaceTree: false
# shared set from packages/skills/. A bun test keeps this list in sync with
# the packages/skills directory listing.
skills:
includeSkills: [local-model-triage]
includeSkills: [estate-orient, local-model-triage]
enablePiUser: true # ~/.omp/agent/skills (omp-native user dir)
enablePiProject: true # .omp/skills in-repo
enableClaudeUser: false
Expand All @@ -66,3 +66,7 @@ modelRoles:
smol: ollama/qwen3.5-9b-mtp
slow: ollama/qwen3.6-35b-mtp
plan: ollama/qwen3.6-35b-mtp
# advisor pinned in-family: after the 2026-07 advisor 402 storm (advisor role
# resolved to a credit-dead paid provider, one failed call per primary turn,
# no circuit-breaker), the advisor role is always pinned explicitly.
advisor: ollama/qwen3.5-9b-mtp
8 changes: 6 additions & 2 deletions packages/harness-omp/tests/preset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ describe("config.local.yml", () => {
for (const m of p.models ?? []) declared.add(`${prov}/${m.id}`);
}
for (const [role, id] of Object.entries<string>(doc.modelRoles ?? {})) {
expect(declared.has(id), `${role}: ${id}`).toBeTrue();
// selectors may carry a ':level' thinking suffix (e.g. 'llm/zai/GLM-5.2:low')
const bare = id.replace(/:(off|minimal|low|medium|high|xhigh|max)$/, "");
expect(declared.has(bare), `${role}: ${id}`).toBeTrue();
}
});
});
Expand Down Expand Up @@ -110,7 +112,9 @@ describe("config.gateway-slim.yml", () => {
for (const m of p.models ?? []) declared.add(`${prov}/${m.id}`);
}
for (const [role, id] of Object.entries<string>(doc.modelRoles ?? {})) {
expect(declared.has(id), `${role}: ${id}`).toBeTrue();
// selectors may carry a ':level' thinking suffix (e.g. 'llm/zai/GLM-5.2:low')
const bare = id.replace(/:(off|minimal|low|medium|high|xhigh|max)$/, "");
expect(declared.has(bare), `${role}: ${id}`).toBeTrue();
}
});
});
Expand Down
Loading