From 240c838a7b455dcd3b93d2cae2536538a3b26387 Mon Sep 17 00:00:00 2001 From: Martin Pander Date: Wed, 11 Feb 2026 22:00:44 +0100 Subject: [PATCH] Update opencode config --- modules/home/opencode.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home/opencode.nix b/modules/home/opencode.nix index f331e4b..eac1e65 100644 --- a/modules/home/opencode.nix +++ b/modules/home/opencode.nix @@ -24,6 +24,8 @@ in "$schema" = "https://opencode.ai/config.json"; model = "anthropic/claude-sonnet-4-5-20250929"; small_model = "anthropic/claude-haiku-4-5-20251001"; + default_agent = "plan"; + enabled_providers = [ "anthropic" "langdock-openai" "ollama" ]; provider = { langdock-openai = { npm = "@ai-sdk/openai-compatible"; @@ -34,7 +36,6 @@ in }; models = { "gpt-5.2" = { name = "GPT-5.2"; }; - "gpt-4.1" = { name = "GPT-4.1"; }; "gpt-5-mini" = { name = "GPT-5 mini"; }; }; };