From d2fbfe487be0f79b284a9fd867b4915fb9356bf3 Mon Sep 17 00:00:00 2001 From: Caleb Braaten Date: Mon, 4 May 2026 18:31:39 -0700 Subject: [PATCH] Add no-thinking varient of GLM 4.7 as workaround for OpenCode bug (due to Cerebras update) --- opencode/.config/opencode/opencode.jsonc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/opencode/.config/opencode/opencode.jsonc b/opencode/.config/opencode/opencode.jsonc index 28cfcc1..b1667ee 100644 --- a/opencode/.config/opencode/opencode.jsonc +++ b/opencode/.config/opencode/opencode.jsonc @@ -10,6 +10,18 @@ "lmstudio" ], "provider": { + "cerebras": { + "models": { + "zai-glm-4.7": { + "name": "GLM 4.7", + "variants": { + "Thinking Disabled": { + "reasoningEffort": "none", + } + } + } + } + }, "lmstudio": { "npm": "@ai-sdk/openai-compatible", "name": "LM Studio (local)",