From 46e8982b293d2ce6665dcddcca177846e28735f0 Mon Sep 17 00:00:00 2001 From: Johannes du Plessis Date: Wed, 17 Jun 2026 09:10:22 -0700 Subject: [PATCH] feat: add max effort level for GLM 5.2 (#1562) * feat: add max effort level for GLM 5.2 GLM 5.2 supports a 'max' thinking effort level (recommended for coding tasks per Z.ai/Fireworks docs). Add it to the model's effort list so it surfaces in the profile editor and maps to reasoning_effort=max. Co-authored-by: open-swe[bot] * fix: restrict GLM 5.2 efforts to none, high, max GLM 5.2 only supports non-thinking (none), high, and max effort levels. Remove low and medium which the model does not support. Co-authored-by: open-swe[bot] --------- Co-authored-by: open-swe[bot] --- agent/dashboard/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/dashboard/options.py b/agent/dashboard/options.py index fd057060..a617e493 100644 --- a/agent/dashboard/options.py +++ b/agent/dashboard/options.py @@ -52,7 +52,7 @@ SUPPORTED_MODELS: list[ModelOption] = [ { "id": "fireworks:accounts/fireworks/models/glm-5p2", "label": "GLM 5.2", - "efforts": ["none", "low", "medium", "high"], + "efforts": ["none", "high", "max"], "default_effort": "high", "supports_images": False, },