From a1f3f679e91f5ab39c3299d8e7e4e07e482bbf84 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Tue, 6 Jan 2026 15:20:03 +0900 Subject: [PATCH] refactor(config): make Prometheus model independent from plan agent config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Prometheus no longer inherits model from plan agent configuration - Fallback chain: session default model -> claude-opus-4-5 - Removes coupling between Prometheus and legacy plan agent settings 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- src/plugin-handlers/config-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin-handlers/config-handler.ts b/src/plugin-handlers/config-handler.ts index 08bf84f5..c29efa72 100644 --- a/src/plugin-handlers/config-handler.ts +++ b/src/plugin-handlers/config-handler.ts @@ -176,7 +176,7 @@ export function createConfigHandler(deps: ConfigHandlerDeps) { pluginConfig.agents?.["Prometheus (Planner)"]; const defaultModel = config.model as string | undefined; const prometheusBase = { - model: (migratedPlanConfig as Record).model ?? defaultModel, + model: defaultModel ?? "anthropic/claude-opus-4-5", mode: "primary" as const, prompt: PROMETHEUS_SYSTEM_PROMPT, permission: PROMETHEUS_PERMISSION,