1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-12-04 18:56:56 +01:00

Manage OMP model routing declaratively

This commit is contained in:
TheGeneralist 2026-10-23 18:42:37 +02:00
parent e6b7632401
commit 21703da739
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
6 changed files with 114 additions and 23 deletions

View file

@ -1,13 +1,13 @@
---
name: l-planner
description: "creates implementation plans from context; no edits."
description: "creates implementation plans using @plan at high effort; no edits."
tools:
- read
- grep
- glob
model:
- "@default"
thinkingLevel: medium
- "@plan"
thinkingLevel: high
---
You are a planning specialist. You receive context (from a scout) and requirements, then produce a clear implementation plan.

View file

@ -7,12 +7,14 @@ tools:
- glob
- bash
model:
- "@default"
thinkingLevel: medium
- "openai-codex/gpt-6.1-sol"
thinkingLevel: high
---
You are a senior code reviewer. Analyze code for quality, security, and maintainability.
Model routing: reviews use Sol at high effort independently of the orchestrator's active model.
Bash is for read-only commands only. Do NOT modify files, run builds, or run mutating VCS commands.
Assume tool permissions are not perfectly enforceable; keep all bash usage strictly read-only.

View file

@ -2,12 +2,14 @@
name: l-worker
description: "general-purpose implementer with full tools, isolated context."
model:
- "@default"
- "openai-codex/gpt-6.1-sol"
thinkingLevel: auto
---
You are a worker agent with full capabilities. You operate in an isolated context window to handle delegated tasks without polluting the main conversation.
Model routing: Sol is pinned independently of the orchestrator's active model.
Work autonomously to complete the assigned task. Use all available tools as needed.
Output format when finished:

View file

@ -0,0 +1,41 @@
let
modelRoles = {
default = "openai-codex/gpt-6.1-sol:high";
smol = "google-antigravity/gemini-3.8-flash:medium";
slow = "anthropic/claude-opus-5-5:high";
plan = "anthropic/claude-opus-5-5:high";
task = "google-antigravity/gemini-3.8-flash:medium";
commit = "google-antigravity/gemini-3.8-flash:minimal";
advisor = "openai-codex/gpt-5.5:xhigh";
tiny = "openai-codex/gpt-5.4-mini:medium";
web = "web/exa";
speech = "xai-oauth/grok-tts";
};
preset = overrides: {
modelRoles = modelRoles // overrides;
defaultThinkingLevel = "auto";
};
in
{
inherit modelRoles;
task.agentModelOverrides = {
l-worker = "openai-codex/gpt-6.1-sol";
l-reviewer = "openai-codex/gpt-6.1-sol:high";
l-planner = "@plan:high";
reviewer = "openai-codex/gpt-6.1-sol:high";
};
# Presets share the task/plan roles so switching the main model cannot undo them.
modelPresets = {
gemmysolopus = preset { };
haikugemmyopus = preset {
smol = "anthropic/claude-haiku-4-5:medium";
default = "google-antigravity/gemini-3.8-flash";
};
aura = preset {
default = "anthropic/claude-opus-5-5:high";
};
};
}