9 Commits
Author SHA1 Message Date
Aiden Cline e31e476c71 feat(v2): migrate the remaining small provider files to schema 2 (batch 14) (#10810)
* feat(v2): migrate 45 small providers' files to schema 2 (mechanical)

Ran packages/core/script/migrate-v2.ts on each provider. Comments below the
first key were moved into the header first. v1 output is byte-identical.
Left in v1 for the backfill: abliteration-ai abliterated-model(-large)
(reasoning option order), lucidquery lucidnova-rf1-100b and nexus-coder,
zenifra qwen3.6-35b-a3b (attachment disagrees with text-only modalities).

* feat(v2): link small-provider files to their lab models

Standalone files whose model has a lab entry now use base_model and keep only
host overrides (atomic-chat, cloudferro-sherlock, drun, kuae-cloud-coding-plan,
lmstudio, mixlayer, wafer.ai, and the first-party upstage, sarvam, vispark and
nova files). Model facts left on base_model files come from the lab; unsourced
knowledge overrides stay with a header note. Generic image/video kinds take
the lab's MIME types.

* feat(v2): migrate the abliteration-ai, lucidquery and zenifra files the script refused

lucidquery lucidnova-rf1-100b and nexus-coder, and zenifra qwen3.6-35b-a3b,
had attachment = true with text-only input; attachment is now false, matching
the documented text-only API (lucidquery) and the text-only override
(zenifra). abliteration-ai's two toggle+effort files now list the toggle
first, which is v2's order.

* fix(v2): deprecate discontinued lilac models and wafer.ai models no longer listed

Lilac's API returns HTTP 410 "Lilac inference has been discontinued.".
wafer.ai's /v1/models no longer lists GLM-5.1, Kimi-K2.6, MiniMax-M3 or
glm5.2-fast.

* fix(v2): update wafer.ai, pareto, coralbricks and lucidquery prices from their catalogs

wafer.ai GLM-5.2 and pareto glm-5.3-flash follow their public /v1/models.
coralbricks deepseek-v4.1-flash-fast follows /v1/models (input 0.25, cache
read 0.005, cache write 0, output 393,216). lucidquery's AGI-01 prices are
EUR on its docs; converted at the ECB rate 1.1215 (2026-10-20).

* feat(v2): exact MIME input for nova-2-pro-v1 from the Nova 2 formats doc

* fix(v2): add Sarvam 105B pricing and deprecate Sarvam 30B

Prices from sarvam.ai/api-pricing in INR, converted at 94.995216 INR/USD
(2026-10-21). Sarvam's docs mark Sarvam 30B deprecated and /v1/models no
longer lists it.

* refactor(v2): drop limits and modalities identical to the lab on base_model files

* fix(v2): pass effort "default" through to v1 and refuse null efforts in migrate-v2

translate.ts turned v2 effort "default" into v1 null, which v1 uses for
"reasoning off". v2 "default" now stays the literal value, and migrate-v2
refuses v1 files with a null effort (write it as a toggle instead).

* fix(sarvam): reasoning off as a toggle, effort low|medium|high

reasoning_effort = null turns reasoning off on sarvam-105b and sarvam-30b; it
is a toggle, not an effort level. v1 reasoning_options change from
[null, low, medium, high] to [toggle, effort low|medium|high].

* feat(v2): migrate Groq qwen3.6-27b and qwen3.8-27b to schema 2

Their effort lists include Groq's literal "default", which now round-trips.
v1 output is unchanged.
2026-10-21 11:00:26 -05:00
Aiden Cline 262d2c4179 feat(v2): migrate Z.AI (Zhipu) lab and provider files to schema 2 (#10546)
* feat(v2): migrate Z.AI (Zhipu) lab and provider files to schema 2

Mechanical migration via migrate-v2.ts. structured_output moves off five
zhipuai lab files; the v1 host files that inherited it now set it
themselves. Lab files set top_p (documented) and top_k (true for
open-weights models, false for API-only ones).

* feat(zhipuai): backfill v2 capabilities, CN pricing, and missing Z.AI models

- Provider files base_model the zhipuai labs and hold only overrides.
- Reasoning defaults, implicit cache, top_k = false, system_updates and
  tools.updates / effort_updates from the docs and live probes.
- zhipuai prices converted from the bigmodel.cn CNY list with >=32K tiers.
- GLM-5.2 gets the thinking.type toggle next to its effort levels.
- Coding Plan entries now routed to GLM-5.3 / GLM-5.3-Flash are deprecated.
- glm-image type and launch date; glm-5v-turbo MIME inputs.
- New v2-only models: glm-4.5-x, glm-4.5-airx, glm-4.6v-flashx, glm-5-turbo
  (zhipuai), glm-image, glm-asr-2512, cogvideox-3.

* fix(zhipuai): exact MIME modalities for GLM vision, video and image models

Labs list the formats the Z.AI / Zhipu Chat API documents (jpg/png images,
mp4/mkv/mov video, PDF files on GLM-5.3-Flash); provider files no longer
repeat them. CogVideoX-3 outputs video/mp4. GLM-Image stays generic (no
documented format; live URLs are labeled PNG but carry JPEG) and its
first-party entries take text input only.
2026-10-19 21:32:55 -05:00
Aiden Cline a96953fd9b feat(v2): migrate Moonshot AI lab and provider files to schema 2 (#10540)
* feat(v2): migrate Moonshot AI provider models to schema 2

* feat(v2): migrate moonshotai lab models to schema 2

* feat(v2): Kimi input formats as MIME types, exact release dates, migrate K2.8 Preview

* feat(v2): backfill Moonshot AI caching, sampling, tool and mid-conversation capabilities; price the China platform from its CNY list

* feat(v2): backfill Kimi For Coding reasoning defaults, toggle and caching

* fix(v2): Kimi For Coding off is effort none, drop unverified structured_output, cite Kimi MIME list and CN toggle wire
2026-10-19 21:08:57 -05:00
Aiden Cline d7f3f04b6f feat(v2): migrate DeepSeek lab and provider files to schema 2 (#10539)
* refactor(deepseek): move structured_output from lab files to hosts

* fix(deepseek): text-only deepseek-chat/reasoner have no attachments; OCR 2 takes temperature

* feat(v2): migrate DeepSeek lab and provider files to schema 2

* feat(v2): DeepSeek image MIME types and V4 Pro 0813 release date

* feat(v2): backfill DeepSeek API reasoning defaults, caching, peak pricing, limits and mid-conversation flags

* chore(deepseek): apply sync output for hosts of deepseek-chat/reasoner and V4 Pro 0813

* fix(amazon-bedrock): keep structured_output on the v2 DeepSeek V3.2 file

* fix(deepseek): drop unpublished image limits; cite low as a distinct effort level

* docs(agents): DeepSeek V4 effort levels are low/high/max

* fix(azure): keep structured_output on the v2 DeepSeek files
2026-10-19 21:03:54 -05:00
Aiden Cline 524524e488 fix(ebcloud): correct converted pricing 2026-07-12 13:30:17 -05:00
Boyu Zheng f5fe2210c8 fix(ebcloud): drop unverified reasoning cost, add interleaved reasoning_content, cleanup
Addresses second review pass on PR #3102:
- Remove cost.reasoning (reasoning tokens bill as normal output tokens,
  no separate free/paid line item, matching repo convention)
- Add [interleaved] field = "reasoning_content" to all four models,
  since EBCloud's endpoint returns reasoning via that field
- Document the reasoning-control investigation in provider.toml
  (no verified effort/budget/toggle param found)
- Strip trailing whitespace, add trailing newline to provider.toml
- Normalize logo.svg viewBox to a 0 0 N N origin
2026-07-10 10:48:45 +08:00
Boyu Zheng 6e4a1e55d8 fix(ebcloud): use base_model inheritance and currentColor logo
Address review feedback on PR #3102: inherit provider-agnostic model
facts via base_model instead of duplicating them (fixes fabricated
dates, wrong temperature/limit overrides, and the DeepSeek-V4-Pro
copy-pasted description), switch logo fills to currentColor, and
correct GLM-5.1/Kimi-K2.6 pricing which had wrongly copied
DeepSeek-V4-Flash's rate.
2026-07-10 10:38:46 +08:00
Boyu Zheng b96653aa5c fix(ebcloud): correct copy-pasted model descriptions for GLM-5.1 and Kimi-K2.6 2026-07-08 17:22:08 +08:00
Boyu Zheng 128398d56b feat(provider): add EBCloud provider and Models: DeepSeek-v4-flash, pro, GLM and Kimi. 2026-07-08 16:49:17 +08:00