diff --git a/site/public/docs/ja/mistral-vibe.html b/site/public/docs/ja/mistral-vibe.html new file mode 100644 index 000000000..8dfc80ebf --- /dev/null +++ b/site/public/docs/ja/mistral-vibe.html @@ -0,0 +1,279 @@ + + + + + +Mistral Vibe で DeepSeek・GLM・Kimi・Qwen・Claude・ChatGPT サブスクリプションを使う:magpie を ~/.vibe/config.toml に · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

ドキュメント · ガイド

+

Mistral Vibe を任意のモデルで

+

Mistral Vibe は Mistral のオープンソースのコーディングエージェントで、コマンドは vibe です。設定は $VIBE_HOME(なければ ~/.vibe)の config.toml にあります。magpie はここに magpie プロバイダーとカタログの各モデルを加えるので、Vibe の /model ピッカーに DeepSeek・GLM・Kimi・Qwen・Claude・ChatGPT サブスクリプションなど magpie のモデルが並びます。Mistral 自身のモデルをほかのエージェントで使うには Mistral を Claude Code・Codex・Gemini CLI・OpenCode で使う を見てください。

+

Mistral Vibe の設定

+
    +
  1. magpie でプロバイダーを追加プロバイダー ページで API キーを追加するか、サブスクリプションにサインインします。
  2. +
  3. エージェント ページで Mistral Vibe のモデルを選ぶvia magpie のモデルを選ぶと、magpie が Vibe の active_model をそれに向けます。
  4. +
  5. 開いている vibe セッションを再起動Vibe は設定を起動時に読みます。その後は Vibe の /model でほかの magpie のモデルにも切り替えられます。
  6. +
+

config.toml

+

magpie はゲートウェイの /v1 を OpenAI chat completions として使う [[providers]] エントリと、カタログのモデルごとに [[models]] エントリを書きます。モデルのエイリアスは magpie/<プロバイダー>/<モデル> で、/model に表示され、active_model に入る値です:

+
ターミナル
# ~/.vibe/config.toml
+active_model = "magpie/deepseek/deepseek-v4-pro"
+
+[[providers]]
+name = "magpie"
+api_base = "http://127.0.0.1:3425/v1"
+api_style = "openai"
+backend = "generic"
+extra_headers = { Authorization = "Bearer " }
+
+[[models]]
+name = "deepseek/deepseek-v4-pro"
+provider = "magpie"
+alias = "magpie/deepseek/deepseek-v4-pro"
+thinking_levels = ["off", …]
+supports_images = …
+max_context_length = …
+

キーの置き場所

+

Vibe はプロバイダーのキーを api_key_env_var が指す環境変数(またはキーリング)からだけ読み、config.toml からは読みません。キーのないプロバイダーは extra_headers をそのまま送るので、magpie は Vibe 用のキーを Authorization ヘッダーとしてそこに置きます。環境変数や ~/.vibe/.env には何も書きません。Vibe のリクエストの User-Agent は Mistral-Vibe/<バージョン> で、ゲートウェイはこれで見分けます。

+

モデルと思考レベル

+

推論の強さがあるモデルは thinking_levels に off と各レベルを、ないモデルは off だけを持ちます。Vibe で magpie のモデルに選んだ思考レベルは、モデルがまだ対応している限りそのままです。コンテキストが分からないモデルには 128K を書きます。ないと Vibe は既定のウィンドウを使い、警告を出すからです。

+

自分の設定はそのまま

+

ファイルのほかのキーとエントリはあなたのもので、書いたままです。magpie は自分のモデルが変わったときだけ自分のエントリを書き直します。コマンド名が同じ vibe の Avibe は Mistral Vibe とみなしません。Vibe のスキルと AGENTS.md(~/.vibe/skills と ~/.vibe/AGENTS.md)は magpie のライブラリが管理します。

+

元に戻す

+

magpie は最初に引き継いだときの active_model の値を覚えておきます。magpie で Vibe 自身のモデルを選ぶか Vibe をオフにすると、active_model をその値(または選んだモデル)に戻し、magpie のプロバイダーとモデルのエントリを削除します。

+ +

よくある質問

+

Mistral Vibe で DeepSeek や Claude を使えますか?

+

使えます。magpie が config.toml に magpie プロバイダーとモデルを加えるので、Vibe の /model で magpie/ から始まるモデルを選んでください。

+

magpie のキーはどこに置かれますか?

+

Vibe は config.toml からキーを読まないので、magpie は extra_headers に Authorization ヘッダーとして置きます。環境変数には書きません。

+

Vibe が前のモデルのままなのはなぜですか?

+

Vibe は設定を起動時に読みます。開いている vibe セッションを再起動してください。

+

元に戻すと前のモデルに戻りますか?

+

戻ります。magpie は active_model の元の値を覚えていて、元に戻すときにそれを戻します。

+ +

同じモデルを他のエージェントでも:Avibe を任意のモデルで、Pencil を任意のモデルで、WorkBuddy を任意のモデルで。エラーが出るときは よくあるエラーの直し方、または Discord で質問してください。

+
+
+ + + + + + + diff --git a/site/public/docs/ja/pencil.html b/site/public/docs/ja/pencil.html index adfa48dd1..abfe1a841 100644 --- a/site/public/docs/ja/pencil.html +++ b/site/public/docs/ja/pencil.html @@ -230,7 +230,7 @@

magpie は Pencil のほかのプロバイダーを変えますか?

変えません。magpie が書くのは自分の magpie プロバイダーだけです。

-

同じモデルを他のエージェントでも:OpenPencil を任意のモデルで、WorkBuddy を任意のモデルで、Pi を任意のモデルで。エラーが出るときは よくあるエラーの直し方、または Discord で質問してください。

+

同じモデルを他のエージェントでも:OpenPencil を任意のモデルで、WorkBuddy を任意のモデルで、Pi を任意のモデルで、Mistral Vibe を任意のモデルで。エラーが出るときは よくあるエラーの直し方、または Discord で質問してください。

diff --git a/site/public/docs/mistral-vibe.html b/site/public/docs/mistral-vibe.html new file mode 100644 index 000000000..16832e810 --- /dev/null +++ b/site/public/docs/mistral-vibe.html @@ -0,0 +1,279 @@ + + + + + +Mistral Vibe with DeepSeek, GLM, Kimi, Qwen, Claude or a ChatGPT subscription: magpie in ~/.vibe/config.toml · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Guide

+

Mistral Vibe on any model

+

Mistral Vibe is Mistral's open-source coding agent, the vibe CLI. It keeps its settings in config.toml in $VIBE_HOME, else ~/.vibe. magpie adds a magpie provider there with one model per catalog model, so Vibe's /model picker lists DeepSeek, GLM, Kimi, Qwen, Claude, a ChatGPT subscription or any other model in magpie. For Mistral's own models in other agents, see Mistral in Claude Code, Codex, Gemini CLI and OpenCode.

+

Set up Mistral Vibe

+
    +
  1. Add a provider in magpieAdd an API key on the Providers page, or sign in to a subscription.
  2. +
  3. Pick a model for Mistral Vibe on the Agents pagePick one via magpie; magpie points Vibe's active_model at it.
  4. +
  5. Restart open vibe sessionsVibe reads its settings at start-up. Afterwards you can switch to another magpie model in Vibe's /model too.
  6. +
+

config.toml

+

magpie writes a [[providers]] entry with the gateway's /v1 as OpenAI chat completions, and one [[models]] entry per catalog model. A model's alias is magpie/<provider>/<model>, which is what /model shows and active_model holds:

+
Terminal
# ~/.vibe/config.toml
+active_model = "magpie/deepseek/deepseek-v4-pro"
+
+[[providers]]
+name = "magpie"
+api_base = "http://127.0.0.1:3425/v1"
+api_style = "openai"
+backend = "generic"
+extra_headers = { Authorization = "Bearer " }
+
+[[models]]
+name = "deepseek/deepseek-v4-pro"
+provider = "magpie"
+alias = "magpie/deepseek/deepseek-v4-pro"
+thinking_levels = ["off", …]
+supports_images = …
+max_context_length = …
+

Where the key goes

+

Vibe reads a provider's key only from the environment variable its api_key_env_var names, or the keyring, never from config.toml. A keyless provider sends its extra_headers as they are, so magpie's key for Vibe goes there as an Authorization header. Nothing of magpie's is put in your environment or in ~/.vibe/.env. Vibe's requests say Mistral-Vibe/<version> as their User-Agent, which the gateway tells apart.

+

Models and thinking

+

A model with effort levels offers them in thinking_levels beside off; one without offers off alone. A thinking level you chose in Vibe on one of magpie's models stays while the model still has it. A model whose context magpie doesn't know is given 128K, since without one Vibe takes a default window with a warning.

+

What stays yours

+

Every other key and entry of the file is yours and stays as written. magpie rewrites its own entries only when its models changed. Avibe, whose command is also vibe, is not taken for Mistral Vibe. Vibe's skills and AGENTS.md, in ~/.vibe/skills and ~/.vibe/AGENTS.md, are kept by magpie's Library.

+

Switching back

+

magpie notes what active_model was when it first takes over. When you pick Vibe's own model in magpie, or switch Vibe off, magpie puts active_model back to that value (or the model you picked) and removes its provider and model entries.

+ +

FAQ

+

Can Mistral Vibe use DeepSeek or Claude?

+

Yes. magpie adds a magpie provider and its models to config.toml; pick a model starting with magpie/ in Vibe's /model.

+

Where does magpie put its key?

+

Vibe doesn't read keys from config.toml, so magpie puts its key in extra_headers as an Authorization header, not in your environment.

+

Why is Vibe still on its old model?

+

Vibe reads its settings at start-up. Restart open vibe sessions.

+

Is my old model back when I switch back?

+

Yes. magpie noted what active_model was and puts it back.

+ +

More agents on the same models: Avibe on any model, Pencil on any model and WorkBuddy on any model. Something fails? See Fixing common errors, or ask on Discord.

+
+
+ + + + + + + diff --git a/site/public/docs/pencil.html b/site/public/docs/pencil.html index 11baa1295..40e88f789 100644 --- a/site/public/docs/pencil.html +++ b/site/public/docs/pencil.html @@ -230,7 +230,7 @@

Does magpie change my other Pencil providers?

No. magpie writes only its own magpie provider.

-

More agents on the same models: OpenPencil on any model, WorkBuddy on any model and Pi on any model. Something fails? See Fixing common errors, or ask on Discord.

+

More agents on the same models: OpenPencil on any model, WorkBuddy on any model, Pi on any model and Mistral Vibe on any model. Something fails? See Fixing common errors, or ask on Discord.

diff --git a/site/public/docs/zh/mistral-vibe.html b/site/public/docs/zh/mistral-vibe.html new file mode 100644 index 000000000..7f6d76273 --- /dev/null +++ b/site/public/docs/zh/mistral-vibe.html @@ -0,0 +1,279 @@ + + + + + +Mistral Vibe 接入 DeepSeek、GLM、Kimi、Qwen、Claude 或 ChatGPT 订阅:通过 magpie 配置 ~/.vibe/config.toml · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 指南

+

让 Mistral Vibe 用任意模型

+

Mistral Vibe 是 Mistral 的开源编程 Agent,命令是 vibe。它的设置在 $VIBE_HOME(没设置时是 ~/.vibe)里的 config.toml。magpie 在里面加一个 magpie 供应商和 magpie 目录里的每个模型,Vibe 的 /model 选择器里就有了 DeepSeek、GLM、Kimi、Qwen、Claude 或 ChatGPT 订阅等 magpie 里的模型。想在别的 Agent 里用 Mistral 自己的模型,见 Mistral 接入 Claude Code、Codex、Gemini CLI 和 OpenCode。

+

接入 Mistral Vibe

+
    +
  1. 在 magpie 里添加供应商在 供应商 页添加 API Key,或登录一个订阅。
  2. +
  3. 在 Agent 页给 Mistral Vibe 选模型选一个 via magpie 的模型,magpie 把 Vibe 的 active_model 指向它。
  4. +
  5. 重启打开着的 vibe 会话Vibe 只在启动时读取设置。之后也可以在 Vibe 的 /model 里换成别的 magpie 模型。
  6. +
+

config.toml

+

magpie 写入一个 [[providers]] 条目,把网关的 /v1 当作 OpenAI chat completions 用,再为目录里的每个模型写一个 [[models]] 条目。模型的别名是 magpie/<供应商>/<模型>,这就是 /model 里显示的名字,也是 active_model 里存的值:

+
终端
# ~/.vibe/config.toml
+active_model = "magpie/deepseek/deepseek-v4-pro"
+
+[[providers]]
+name = "magpie"
+api_base = "http://127.0.0.1:3425/v1"
+api_style = "openai"
+backend = "generic"
+extra_headers = { Authorization = "Bearer " }
+
+[[models]]
+name = "deepseek/deepseek-v4-pro"
+provider = "magpie"
+alias = "magpie/deepseek/deepseek-v4-pro"
+thinking_levels = ["off", …]
+supports_images = …
+max_context_length = …
+

Key 放在哪里

+

Vibe 只从 api_key_env_var 指定的环境变量(或系统钥匙串)读供应商的 Key,从不从 config.toml 读。没有 Key 的供应商会原样发送 extra_headers,所以 magpie 把 Vibe 的 Key 作为 Authorization 头放在那里。magpie 不往你的环境变量或 ~/.vibe/.env 里写任何东西。Vibe 的请求带着 Mistral-Vibe/<版本> 的 User-Agent,网关能认出它。

+

模型和思考强度

+

有思考强度的模型,thinking_levels 列出 off 和它支持的各档;没有的只列 off。你在 Vibe 里给 magpie 某个模型选的思考强度,只要模型还支持就保持不变。magpie 不知道上下文大小的模型写 128K,否则 Vibe 会用默认窗口并给出警告。

+

你的设置保持不变

+

文件里其他的键和条目都是你的,保持原样。magpie 只在模型有变化时才重写自己的条目。命令名同样是 vibe 的 Avibe 不会被当成 Mistral Vibe。Vibe 的技能和 AGENTS.md 在 ~/.vibe/skills 和 ~/.vibe/AGENTS.md,由 magpie 的资源库管理。

+

切回

+

magpie 第一次接管时会记下 active_model 原来的值。在 magpie 里给 Vibe 选它自己的模型,或者关掉 Vibe 时,magpie 把 active_model 恢复成原来的值(或你选的模型),并删掉 magpie 的供应商和模型条目。

+ +

常见问题

+

Mistral Vibe 能用 DeepSeek 或 Claude 吗?

+

能。magpie 在 config.toml 里加一个 magpie 供应商和模型,在 Vibe 的 /model 里选 magpie/ 开头的模型即可。

+

magpie 的 Key 写在哪里?

+

Vibe 不从 config.toml 读 Key,所以 magpie 把 Key 作为 Authorization 头放在 extra_headers 里,不写环境变量。

+

为什么 Vibe 还在用原来的模型?

+

Vibe 只在启动时读取设置。重启打开着的 vibe 会话。

+

切回后原来的模型还在吗?

+

在。magpie 记下了 active_model 原来的值,切回时恢复它。

+ +

更多 Agent 用同样的模型:让 Avibe 用任意模型、让 Pencil 用任意模型、让 WorkBuddy 用任意模型。遇到报错?见 常见错误排查,或到 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/docs/zh/pencil.html b/site/public/docs/zh/pencil.html index 1fa3a9eb0..75ebef2da 100644 --- a/site/public/docs/zh/pencil.html +++ b/site/public/docs/zh/pencil.html @@ -230,7 +230,7 @@

magpie 会改我在 Pencil 里的其他供应商吗?

不会。magpie 只写自己的 magpie 供应商。

-

更多 Agent 用同样的模型:让 OpenPencil 用任意模型、让 WorkBuddy 用任意模型、让 Pi 用任意模型。遇到报错?见 常见错误排查,或到 Discord 提问。

+

更多 Agent 用同样的模型:让 OpenPencil 用任意模型、让 WorkBuddy 用任意模型、让 Pi 用任意模型、让 Mistral Vibe 用任意模型。遇到报错?见 常见错误排查,或到 Discord 提问。

diff --git a/site/public/llms-full.txt b/site/public/llms-full.txt index fd57924e8..bd16d8213 100644 --- a/site/public/llms-full.txt +++ b/site/public/llms-full.txt @@ -8269,7 +8269,81 @@ OpenAI Completions, at the gateway's /v1, for every model. No. magpie writes only its own magpie provider. -More agents on the same models: [OpenPencil on any model](https://usemagpie.ai/docs/openpencil), [WorkBuddy on any model](https://usemagpie.ai/docs/workbuddy) and [Pi on any model](https://usemagpie.ai/docs/pi). Something fails? See [Fixing common errors](https://usemagpie.ai/docs/troubleshooting), or ask on [Discord](https://discord.gg/vGSnD3ZKQF). +More agents on the same models: [OpenPencil on any model](https://usemagpie.ai/docs/openpencil), [WorkBuddy on any model](https://usemagpie.ai/docs/workbuddy), [Pi on any model](https://usemagpie.ai/docs/pi) and [Mistral Vibe on any model](https://usemagpie.ai/docs/mistral-vibe). Something fails? See [Fixing common errors](https://usemagpie.ai/docs/troubleshooting), or ask on [Discord](https://discord.gg/vGSnD3ZKQF). + +--- + +Source: https://usemagpie.ai/docs/mistral-vibe + +# Mistral Vibe on any model + +Mistral Vibe is Mistral's open-source coding agent, the `vibe` CLI. It keeps its settings in `config.toml` in `$VIBE_HOME`, else `~/.vibe`. magpie adds a magpie provider there with one model per catalog model, so Vibe's /model picker lists DeepSeek, GLM, Kimi, Qwen, Claude, a ChatGPT subscription or any other model in magpie. For Mistral's own models in other agents, see [Mistral in Claude Code, Codex, Gemini CLI and OpenCode](https://usemagpie.ai/docs/mistral). + +## Set up Mistral Vibe + +1. **Add a provider in magpie.** Add an API key on the Providers page, or sign in to a subscription. +2. **Pick a model for Mistral Vibe on the Agents page.** Pick one via magpie; magpie points Vibe's active_model at it. +3. **Restart open vibe sessions.** Vibe reads its settings at start-up. Afterwards you can switch to another magpie model in Vibe's /model too. + +## config.toml + +magpie writes a `[[providers]]` entry with the gateway's `/v1` as OpenAI chat completions, and one `[[models]]` entry per catalog model. A model's alias is `magpie//`, which is what /model shows and active_model holds: + +``` +# ~/.vibe/config.toml +active_model = "magpie/deepseek/deepseek-v4-pro" + +[[providers]] +name = "magpie" +api_base = "http://127.0.0.1:3425/v1" +api_style = "openai" +backend = "generic" +extra_headers = { Authorization = "Bearer " } + +[[models]] +name = "deepseek/deepseek-v4-pro" +provider = "magpie" +alias = "magpie/deepseek/deepseek-v4-pro" +thinking_levels = ["off", …] +supports_images = … +max_context_length = … +``` + +## Where the key goes + +Vibe reads a provider's key only from the environment variable its api_key_env_var names, or the keyring, never from config.toml. A keyless provider sends its extra_headers as they are, so magpie's key for Vibe goes there as an Authorization header. Nothing of magpie's is put in your environment or in `~/.vibe/.env`. Vibe's requests say Mistral-Vibe/ as their User-Agent, which the gateway tells apart. + +## Models and thinking + +A model with effort levels offers them in thinking_levels beside off; one without offers off alone. A thinking level you chose in Vibe on one of magpie's models stays while the model still has it. A model whose context magpie doesn't know is given 128K, since without one Vibe takes a default window with a warning. + +## What stays yours + +Every other key and entry of the file is yours and stays as written. magpie rewrites its own entries only when its models changed. Avibe, whose command is also vibe, is not taken for Mistral Vibe. Vibe's skills and AGENTS.md, in `~/.vibe/skills` and `~/.vibe/AGENTS.md`, are kept by magpie's [Library](https://usemagpie.ai/docs/library). + +## Switching back + +magpie notes what active_model was when it first takes over. When you pick Vibe's own model in magpie, or switch Vibe off, magpie puts active_model back to that value (or the model you picked) and removes its provider and model entries. + +## FAQ + +### Can Mistral Vibe use DeepSeek or Claude? + +Yes. magpie adds a magpie provider and its models to config.toml; pick a model starting with magpie/ in Vibe's /model. + +### Where does magpie put its key? + +Vibe doesn't read keys from config.toml, so magpie puts its key in extra_headers as an Authorization header, not in your environment. + +### Why is Vibe still on its old model? + +Vibe reads its settings at start-up. Restart open vibe sessions. + +### Is my old model back when I switch back? + +Yes. magpie noted what active_model was and puts it back. + +More agents on the same models: [Avibe on any model](https://usemagpie.ai/docs/avibe), [Pencil on any model](https://usemagpie.ai/docs/pencil) and [WorkBuddy on any model](https://usemagpie.ai/docs/workbuddy). Something fails? See [Fixing common errors](https://usemagpie.ai/docs/troubleshooting), or ask on [Discord](https://discord.gg/vGSnD3ZKQF). --- diff --git a/site/public/llms.txt b/site/public/llms.txt index 1ac4a915f..c5ace8f29 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -130,6 +130,7 @@ DeepSeek, Kimi (Moonshot), GLM (Zhipu), Qwen, MiniMax, Anthropic (Claude), OpenA - [VS Code on any model](https://usemagpie.ai/docs/vscode): VS Code's own Chat (GitHub Copilot Chat) on any model through magpie, with no Copilot plan: a Custom Endpoint group in chatLanguageModels.json, chat.defaultModel, every profile, Insiders, VSCodium's OpenAI Compatible provider. - [WorkBuddy on any model](https://usemagpie.ai/docs/workbuddy): Tencent's WorkBuddy and WorkBuddy AI with magpie's models in ~/.workbuddy/models.json, the custom-local picker, context sizes, and your own settings kept. - [Pencil on any model](https://usemagpie.ai/docs/pencil): Pencil (pen.dev) with magpie as a custom provider in ~/.pencil/models.json, on OpenAI Completions, picked in its agent composer. +- [Mistral Vibe on any model](https://usemagpie.ai/docs/mistral-vibe): Mistral Vibe (the vibe CLI) with magpie's provider and models in ~/.vibe/config.toml, the key in extra_headers, and active_model put back on switching off. - [Cherry Studio](https://usemagpie.ai/docs/cherry-studio): add magpie to Cherry Studio as one OpenAI-compatible provider in one click, confirmed in Cherry Studio, and use every magpie model there, Claude, ChatGPT and Copilot subscriptions included; model list, status and usage. - [Fixing common errors](https://usemagpie.ai/docs/troubleshooting): what the gateway's errors mean and the fix: 401 and 403, 429 and rest periods, 502 and 504, model not found, an agent that doesn't show a model, port 3425 in use, agents in WSL, use from another computer and subscriptions moved to plugins. - [Library](https://usemagpie.ai/docs/library): instructions, MCP servers, skills, hooks and subagents for each agent. diff --git a/site/public/sitemap.xml b/site/public/sitemap.xml index bbdf391ed..7d56a52ac 100644 --- a/site/public/sitemap.xml +++ b/site/public/sitemap.xml @@ -84,6 +84,7 @@ https://usemagpie.ai/docs/vscode https://usemagpie.ai/docs/workbuddy https://usemagpie.ai/docs/pencil +https://usemagpie.ai/docs/mistral-vibe https://usemagpie.ai/docs/local-models https://usemagpie.ai/docs/opencode-models https://usemagpie.ai/docs/alternatives @@ -189,6 +190,7 @@ https://usemagpie.ai/docs/zh/vscode https://usemagpie.ai/docs/zh/workbuddy https://usemagpie.ai/docs/zh/pencil +https://usemagpie.ai/docs/zh/mistral-vibe https://usemagpie.ai/docs/zh/local-models https://usemagpie.ai/docs/zh/opencode-models https://usemagpie.ai/docs/zh/alternatives @@ -293,6 +295,7 @@ https://usemagpie.ai/docs/ja/vscode https://usemagpie.ai/docs/ja/workbuddy https://usemagpie.ai/docs/ja/pencil +https://usemagpie.ai/docs/ja/mistral-vibe https://usemagpie.ai/docs/ja/local-models https://usemagpie.ai/docs/ja/opencode-models https://usemagpie.ai/docs/ja/alternatives