Files
pi-commandcode-provider/src
8d26dbd374 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>
2026-09-03 13:30:09 +02:00
..