Commit Graph
3 Commits
Author SHA1 Message Date
Aiden Cline 23ab17b850 feat(v2): migrate Command Code provider files to schema 2 (#10790)
* feat(v2): migrate Command Code provider files to schema 2 (mechanical)

bun packages/core/script/migrate-v2.ts provider commandcode

* feat(commandcode): DeepSeek peak multiplier, retire ling-3.1-flash:free

DeepSeek V4/V4.1 files price peak hours (01-04, 06-10 UTC Mon-Fri) at 2x via cost.multipliers, as the pricing page documents. The free Ling 3.1 Flash tier is gone from the catalog and pricing page, so the :free file is deprecated. The provider header notes the Provider plan fee.

* feat(commandcode): Anthropic mid-conversation flags on Claude files

Claude files served via @ai-sdk/anthropic copy system_updates, effort_updates and tools.updates from the same model's providers/anthropic file, as GitHub Copilot does. v2-only; v1 unchanged.
2026-10-21 10:33:51 -05:00
Aiden Cline f363856e77 feat(v2): migrate 12 more lab directories to schema 2 (#10578)
* feat(v2): move structured_output off 12 lab directories onto host files

* fix(inclusionai,stepfun): set temperature on Ling 3.0 Flash Fin, Ling 3.1 Flash and Step 5 Preview lab files

The Hugging Face model cards recommend temperature (Ling: temperature=1.0,
top_p=0.95, top_k=20; Step 5 Preview: temperature=1.0, top_p=0.95, top_k=0),
and StepFun's Chat Completions API documents temperature.

* feat(v2): migrate 12 lab directories to schema 2

Mechanical run of migrate-v2.ts for tencent, inclusionai, deepreinforce,
sakana, microsoft, nousresearch, poolside, stepfun, upstage, perplexity,
aion-labs and arcee-ai. top_p/top_k start out copied from temperature.
The two MAI-Code lab files stay v1.

* feat(v2): backfill sampling flags, MIME input types, dates and open weights for the migrated labs

- top_p/top_k checked against each lab's docs or model card: open-weight
  checkpoints keep all three; Fugu ignores all sampling; Upstage, Sonar
  and Aion document no top_k (Aion and Sonar Deep Research no top_p)
- exact image/video MIME types for Step 3.7 Flash, Step 5 Preview, Sonar
  Pro and Sonar Reasoning Pro from the StepFun and Perplexity docs
- Hy-MT2 release 2026-05-21, Phi-4-mini release 2025-02-26 and cutoff
  2024-06, Solar Pro 3 release 2026-01-26 / update 2026-03-23 / cutoff
  2025-07, Aion 2.0/3.0/3.0 Mini dates from the Aion models API
- open_weights for Ling 3.1 Flash and Aion-RP Llama 3.1 8B (public weights)
- sources in each file's header

* chore(sync): drop host temperature overrides the Step 5 Preview and Ling 3.1 Flash labs now cover
2026-10-19 23:59:59 -05:00
RAMA 060ca3bfa8 feat(commandcode): add CommandCode provider (71 models) (#9835)
* feat(commandcode): add provider

* fix(commandcode): match gateway reasoning

* fix(commandcode): resolve control review
2026-10-16 11:54:13 -05:00