From dd111756cf2d9cf8c793c984d64eab6724305cf4 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Fri, 10 Apr 2026 16:54:19 +0200 Subject: [PATCH] Fix model provider prefix for commit and compact subagents --- home/modules/opencode.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/modules/opencode.nix b/home/modules/opencode.nix index c32e3e0..bd1e00c 100644 --- a/home/modules/opencode.nix +++ b/home/modules/opencode.nix @@ -7,7 +7,7 @@ commit = { description = "Creates a one-line git commit describing the changes"; mode = "subagent"; - model = "openai/gpt-oss-120b:nitro"; + model = "openrouter/openai/gpt-oss-120b:nitro"; prompt = '' You are a git commit agent. When invoked: 1. Run `git status` and `git diff` to understand all changes @@ -26,7 +26,7 @@ compact = { description = "Compacts and summarizes conversation context to reduce token usage"; mode = "subagent"; - model = "moonshotai/kimi-k2.5:nitro"; + model = "openrouter/moonshotai/kimi-k2.5:nitro"; prompt = '' You are a context compaction specialist. Your job is to summarize and compress the conversation history while preserving: 1. Key decisions and their rationale