Skip to content

Commit eed26f0

Browse files
committed
Correct Muse Spark prefix comment to cite provider-family convention
The prior comment named isMuseSparkLeafProvider, which exists nowhere.
1 parent 5ff7f61 commit eed26f0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/provider/reasoning-effort.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ const MUSE_SPARK_EFFORTS: readonly ReasoningEffort[] = [
7878
// packages/opencode-go, and `muse-spark-1.3` / `-1.2` /
7979
// `-1.3-contributor-free` in packages/zen — and nothing normalizes the model
8080
// 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.
81+
// and left the ladder at the unknown-model default. The `/^.../i` + `trim()`
82+
// shape mirrors the grok/kimi prefix checks in
83+
// src/subagent/provider-family.ts.
8484
function isMuseSparkModel(model: string): boolean {
8585
return /^muse-spark/i.test(model.trim());
8686
}

0 commit comments

Comments
 (0)