Commit Graph
2 Commits
Author SHA1 Message Date
yetone e9e63c6d77 site: an NVIDIA NIM page in en, zh and ja
/docs/nvidia says how magpie's nvidia preset serves NVIDIA NIM with one
build.nvidia.com key: Chat Completions alone at
integrate.api.nvidia.com/v1, since NIM's /v1/responses answers for few
models (#197), with Claude Code's and Codex's requests translated;
nvidia/<model> ids; the free badge for models NIM prices at 0, scoped to
NIM (PricedFree, catalog.go); imported per-key copies folded into one
provider (FoldCopies, fold.go); OpenCode's nvidia provider imported as
the preset; and that magpie doesn't say how a NIM key bills
(unsaidPresets). Every claim is from internal/provider and
internal/catalog, with the labels' zh and ja from i18n.js. Linked from
each language's modelscope page; in the sitemap, llms.txt and
llms-full.txt.

Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: a real NVIDIA NIM key for this page; it names only what
magpie's source says.
2026-11-13 06:52:49 +08:00
yetone 817ccb56f9 site: SiliconFlow and ModelScope docs pages in en, zh and ja
/docs/siliconflow says how to use SiliconFlow (硅基流动) in Claude
Code, Codex, Gemini CLI and OpenCode through magpie: the China and
Global sites as separate accounts with a site per key; Chat Completions
only, so Claude Code's and Codex's requests are converted; model names
with their maker, as models.dev's siliconflow catalog has them; the
balance query retired on 2026-08-14, so the card points to the
console. From internal/provider/presets.go (siliconflow), balance.go
(readSiliconFlow, siliconFlowGone) and the bundled catalog.

/docs/modelscope says the same for ModelScope (魔搭) API-Inference: a
ModelScope access token as the key, not DashScope; Chat Completions
and Responses at api-inference.modelscope.cn/v1; a hand-added entry
there taken as ModelScope; its async image tasks drawn one at a time.
From presets.go (modelscope), nvidia_modelscope_test.go and
internal/gateway/draw_modelscope.go's header.

Both linked from each language's "By provider" line after Baidu
Qianfan (33 pages), in the sitemap, llms.txt and llms-full.txt.

Run: the six pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: a SiliconFlow key or ModelScope token on magpie for these
pages; they name only what magpie's source says.
2026-11-11 19:43:15 +08:00