fix(models): refresh model metadata so newer models expose thinking levels - #98
Conversation
2e257a9 to
2e90bfd
Compare
…ng levels The capability metadata that ships with the provider predated several model ids, so anything published after the last refresh fell back to the unknown-model defaults: reasoning: false and no thinkingLevelMap. pi hides every thinking level for non-reasoning models, so deepseek/deepseek-v4.1-flash offered only "off" and dropped reasoning_effort from the request. Refreshed the metadata with the repository's own catalog sync script. The newer ids now report their image, reasoning, effort, and output-limit support, and deepseek/deepseek-v4.1-flash exposes low/high/max, which matches the public model reference. The obsolete manual effort overrides are dropped because the refreshed catalog carries those levels itself.
2e90bfd to
baf7015
Compare
|
I reproduced this refresh against the live Provider API and pi's model runtime. Command Code's gateway rejects
Through 43 of the 69 live catalog models expose at least one selectable level, and every remaining |
|
Integrated current main (including repaired CI and sync), regenerated with command-code@1.54.0, and corrected the changelog: Ling has reasoning support but no published effort levels; API-absent IDs are not made selectable by metadata. Documented Muse Spark minimal removal and max addition. Full npm test passes locally with real Pi and OMP 18.1.22, plus formatting and diff checks. Waiting for CI before merge. |
|
Shipped in |
Problem
The model metadata shipped with the provider predates several model ids, so those ids fall back to the unknown-model defaults (
reasoning: false, nothinkingLevelMap). pi returns["off"]for non-reasoning models, sodeepseek/deepseek-v4.1-flashexposed no selectable thinking level and droppedreasoning_effortfrom requests.Change
Refreshed the shipped metadata with the repository's own catalog sync script:
deepseek/deepseek-v4.1-flash— image + reasoning, effortslow/high/maxgpt-6-astra— image + reasoning, effortslow…maxinclusionai/ling-3.0-flash-sante:free— reasoning + output limitMiniMaxAI/MiniMax-M3and the Muse Spark models — effort levelsVerification
bun test ./tests/test-models.ts ./tests/test-model-metadata-check.ts→ 30 pass / 0 failpi --list-models commandcode→ 69 models;deepseek/deepseek-v4.1-flashreportsthinking: yesoff/low/high/max, matching the public model reference