fix(models): support DeepSeek V4.1 vision and max effort
CI / typecheck (push) Failing after 51s
CI / format (push) Failing after 4s
CI / Oh My Pi compatibility (push) Failing after 1m7s
CI / CodeQL SAST (push) Failing after 26m15s
CI / Semgrep — pi extension audit (push) Failing after 8m15s
CI / Gitleaks — secrets scan (push) Failing after 8s
CI / Dependency review (push) Skipped
CI / npm audit (push) Failing after 6s
CI / Check lifecycle scripts (push) Failing after 2s
CI / typecheck (push) Failing after 51s
CI / format (push) Failing after 4s
CI / Oh My Pi compatibility (push) Failing after 1m7s
CI / CodeQL SAST (push) Failing after 26m15s
CI / Semgrep — pi extension audit (push) Failing after 8m15s
CI / Gitleaks — secrets scan (push) Failing after 8s
CI / Dependency review (push) Skipped
CI / npm audit (push) Failing after 6s
CI / Check lifecycle scripts (push) Failing after 2s
Refresh the generated capability catalog from command-code@1.44.0 to 1.53.1. deepseek/deepseek-v4.1-flash now advertises image input and its low, high, and max reasoning efforts, so pi forwards attached images and exposes the full thinking-level selector instead of reporting the model as text-only without selectable levels. The sync also adds gpt-6-astra, xai/grok-4.6, and inclusionai/ling-3.0-flash-sante:free metadata. Drop the now-obsolete manual Meta Muse Spark effort overrides because upstream publishes efforts for meta/muse-spark-1.1 through 1.3-contributor and MiniMaxAI/MiniMax-M3, and add a regression test for the V4.1 capabilities.
This commit is contained in:
@@ -11,15 +11,9 @@ import type { CommandCodeReasoningEffort } from "./commandcode-catalog.ts"
|
||||
*
|
||||
* Add a model only when the effort parameter is known to be accepted by the
|
||||
* Command Code endpoint; remove it once the CLI catalog ships its own efforts.
|
||||
* The map is currently empty: upstream published efforts for Meta Muse Spark
|
||||
* 1.1-1.3 and MiniMax M3, so no manual policy is needed.
|
||||
*/
|
||||
export const MODEL_EFFORT_OVERRIDES: Readonly<
|
||||
Record<string, readonly CommandCodeReasoningEffort[]>
|
||||
> = {
|
||||
// Meta Muse Spark: the CLI ships no effort levels, but the endpoint accepts
|
||||
// `reasoning_effort` for these models and other hosts expose the same set.
|
||||
"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