Skip to content

fix(models): refresh model metadata so newer models expose thinking levels - #97

Closed
SamYue1 wants to merge 1 commit into
patlux:mainfrom
SamYue1:fix/sync-commandcode-catalog-1-54
Closed

SamYue1 wants to merge 1 commit into
patlux:mainfrom
SamYue1:fix/sync-commandcode-catalog-1-54

Conversation

@SamYue1

@SamYue1 SamYue1 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Problem

The model metadata shipped with the provider predates several model ids, so those ids fall back to the unknown-model defaults (reasoning: false, no thinkingLevelMap). pi returns ["off"] for non-reasoning models, so deepseek/deepseek-v4.1-flash exposed no selectable thinking level and dropped reasoning_effort from requests.

Change

Refreshed the shipped metadata with the repository's own catalog sync script:

  • deepseek/deepseek-v4.1-flash — image + reasoning, efforts low/high/max
  • gpt-6-astra — image + reasoning, efforts lowmax
  • inclusionai/ling-3.0-flash-sante:free — reasoning + output limit
  • MiniMaxAI/MiniMax-M3 and the Muse Spark models — effort levels
  • dropped the now-redundant manual effort overrides

Verification

  • bun test ./tests/test-models.ts ./tests/test-model-metadata-check.ts → 30 pass / 0 fail
  • pi --list-models commandcode → 69 models; deepseek/deepseek-v4.1-flash reports thinking: yes
  • thinking levels resolve to off/low/high/max, matching the public model reference

…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.
@SamYue1
SamYue1 force-pushed the fix/sync-commandcode-catalog-1-54 branch from 50ba4fc to 2e257a9 Compare September 14, 2026 06:06
@SamYue1 SamYue1 closed this Sep 14, 2026
@SamYue1
SamYue1 deleted the fix/sync-commandcode-catalog-1-54 branch September 14, 2026 06:09
@SamYue1 SamYue1 changed the title fix(models): sync the capability catalog to command-code@1.54.0 fix(models): refresh model metadata so newer models expose thinking levels Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant