site: the Chinese link builder offers the presets the English and Japanese ones do — 百度千帆 baidu-qianfan, 腾讯云 Token Plan, 华为云 MaaS and 火山方舟 volcengine with its Coding Plan / Agent Plan / 按量付费 regions were missing from /docs/zh/import's preset list. WebKit: the four are listed, volcengine shows its regions and builds #preset=volcengine&region=agent, baidu-qianfan hides the region picker.

This commit is contained in:
yetone committed 2026-10-03 11:54:22 +08:00
1 parent 3c79152eb4
commit 369fc1659d
1 file changed
+2 -2
+2 -2
View File
@@ -281,13 +281,13 @@ href = <span class="s">"https://usemagpie.ai/import#"</span> + urlencode({
const PRESETS = [
["anthropic", "Anthropic"], ["openai", "OpenAI"], ["google", "Google Gemini"], ["deepseek", "DeepSeek"],
["xai", "xAI"], ["moonshot", "Kimi"], ["moonshot-cn", "Kimi(中国)"], ["zhipu", "智谱 GLM"], ["zai", "Z.ai"],
["minimax", "MiniMax"], ["minimax-cn", "MiniMax(中国)"], ["qwen", "通义千问"], ["qwen-cn", "Qwen(中国)"],
["minimax", "MiniMax"], ["minimax-cn", "MiniMax(中国)"], ["qwen", "通义千问"], ["qwen-cn", "Qwen(中国)"], ["baidu-qianfan", "百度千帆"], ["tencent-token-plan", "腾讯云 Token Plan"], ["huaweicloud", "华为云 MaaS"], ["volcengine", "火山方舟"],
["mistral", "Mistral"], ["groq", "Groq"], ["ollama-cloud", "Ollama Cloud"], ["openrouter", "OpenRouter"], ["opencode-go", "OpenCode Go"],
["opencode-zen", "OpenCode Zen"], ["together", "Together AI"], ["fireworks", "Fireworks"],
["siliconflow", "硅基流动"], ["nvidia", "NVIDIA NIM"], ["modelscope", "魔搭 ModelScope"], ["aihubmix", "AiHubMix"], ["302ai", "302.AI"], ["yylx", "鱼鱼连线"],
["ollama", "Ollama"], ["lmstudio", "LM Studio"],
];
const REGIONS = { yylx: [["", "默认"], ["auto", "自动"], ["global", "海外"], ["cn", "中国大陆"]] };
const REGIONS = { yylx: [["", "默认"], ["auto", "自动"], ["global", "海外"], ["cn", "中国大陆"]], volcengine: [["", "Coding Plan"], ["agent", "Agent Plan"], ["api", "按量付费"]] };
const f = document.getElementById("b");
const el = (n) => f.elements[n];
el("preset").innerHTML = PRESETS.map(([id, n]) => `<option value="${id}">${n} · ${id}</option>`).join("");