Commit Graph
2 Commits
Author SHA1 Message Date
yetone df376aadbf site: a Pi docs page in en, zh and ja
/docs/pi says how magpie runs the pi coding agent on magpie's models:
the provider magpie in models.json (gateway, a key of its own, the
models) in ~/.pi/agent or $PI_CODING_AGENT_DIR (~ expanded, a relative
path ignored); defaultProvider and defaultModel in settings.json; each
model on its provider's native API (Responses for GPT and ChatGPT,
Messages for Claude), forceAdaptiveThinking, reasoning, contextWindow,
images and maxTokens, a typed maxTokens kept; defaultThinkingLevel held
to Pi's levels; sendSessionAffinityHeaders and why (usage and recorded
conversations per session), a user's own value kept; enabledModels
added to, never created; extensions/magpie.ts with the decision and
image models for codemode; the .before-magpie copies put back byte for
byte when unchanged; WSL; magpie pi <ref> and magpie pi default. Each
claim is from internal/agent/agents.go (piIn, piDir, piLike, the pi
provider block, piModelJSON, beforeMagpie), pi_extension.go and the pi
row in internal/agent/wsl.go; the UI label from i18n.js. Linked from
each language's Kimi Code 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;
mote refuses SSH this session): 115 pass, 0 fail.
Not tried: Pi itself on magpie for this page; it names only what
magpie's source says.
2026-11-11 16:38:23 +08:00
yetone 2270eb0bdc site: a Kimi Code docs page in en, zh and ja
/docs/kimi-code says how magpie runs Kimi Code (Moonshot's kimi CLI)
on magpie's models: the provider magpie (type kimi, base_url, api_key)
and one [models."magpie/<provider>/<model>"] table per model in
~/.kimi-code/config.toml ($KIMI_CODE_HOME), default_model set to the
pick; display_name and max_context_size; thinking with support_efforts
and default_effort, always_thinking, image_in, tool_use and
max_output_size, a value set by hand kept; the old kimi-cli's ~/.kimi
($KIMI_SHARE_DIR) only where there is no ~/.kimi-code; Kimi Code 2.x
reloading its config as it runs and its app's Settings › Providers,
kimi-cli on restart; the user's sign-in, providers, models and provider
keys kept, their default put back; WSL; magpie kimi <ref> and magpie
kimi default. Each claim is from internal/agent/kimi.go (kimiIn,
kimiModelTables, kimiProvider, the notices) and the kimi row in
internal/agent/wsl.go. Linked from each language's Qwen Code page and
the Kimi provider 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;
mote refuses SSH this session): 114 pass, 0 fail.
Not tried: Kimi Code itself on magpie for this page; it names only
what magpie's source says.
2026-11-11 16:01:33 +08:00