1 parent 5ff7f61 commit eed26f0Copy full SHA for eed26f0
1 file changed
src/provider/reasoning-effort.ts
@@ -78,9 +78,9 @@ const MUSE_SPARK_EFFORTS: readonly ReasoningEffort[] = [
78
// packages/opencode-go, and `muse-spark-1.3` / `-1.2` /
79
// `-1.3-contributor-free` in packages/zen — and nothing normalizes the model
80
// string before it reaches here. An exact list silently missed three of them
81
-// and left the ladder at the unknown-model default. This also matches
82
-// isMuseSparkLeafProvider in src/subagent/provider-family.ts, which already
83
-// keyed off the same prefix.
+// and left the ladder at the unknown-model default. The `/^.../i` + `trim()`
+// shape mirrors the grok/kimi prefix checks in
+// src/subagent/provider-family.ts.
84
function isMuseSparkModel(model: string): boolean {
85
return /^muse-spark/i.test(model.trim());
86
}
0 commit comments