feat(models): add reasoning support for meta/muse-spark-1.3 and 1.3-contributor (#80)
Muse Spark 1.3 and 1.3-contributor are discoverable via the Provider API but Pi showed "Current model does not support thinking" because the generated catalog had no reasoning flag or selectable efforts. Reuse the existing Muse Spark manual override mechanism: - add reasoning flags and image modalities for both ids to the generated catalog (CLI 1.40.1 snapshot follows the same pattern as 1.1/1.2) - add a manual effort override of [minimal, low, medium, high, xhigh] in src/commandcode-catalog-overrides.ts, merged over the generated catalog at load time (same set as 1.1/1.2/1.2-contributor, no max) Pi selected thinking levels now map to reasoning_effort via the existing generic thinkingMetadataForModel / mappedReasoningEffort path; no model-specific transport logic is needed. Tests: typecheck, test-models (override merge + thinking metadata), test-model-metadata-check, test-pure-functions, test-pricing, test-cost, test-stream (reasoning_effort mapping), test-runtime, test-transport all pass. No live Command Code API test was performed. Co-authored-by: heie54 <14918606+heie54@user.noreply.gitee.com> Co-authored-by: Patrick Wozniak <email@patwoz.de>
This commit is contained in:
co-authored by
heie54
Patrick Wozniak
parent
f9879a20ee
commit
8d26dbd374
@@ -20,4 +20,6 @@ export const MODEL_EFFORT_OVERRIDES: Readonly<
|
||||
"meta/muse-spark-1.1": ["minimal", "low", "medium", "high", "xhigh"],
|
||||
"meta/muse-spark-1.2": ["minimal", "low", "medium", "high", "xhigh"],
|
||||
"meta/muse-spark-1.2-contributor": ["minimal", "low", "medium", "high", "xhigh"],
|
||||
"meta/muse-spark-1.3": ["minimal", "low", "medium", "high", "xhigh"],
|
||||
"meta/muse-spark-1.3-contributor": ["minimal", "low", "medium", "high", "xhigh"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user