本文へスキップ

Qwen Code でオープンモデルを使う

RightNow AIOpen modelsQwen Code でオープンモデルを使う 更新日

このページの内容

Qwen Code で、オープンモデルが既存のモデルの横に表示されます。

設定後
Text
設定によって Qwen Code のどこにオープンモデルが入るかの図。

Qwen Code の中で、既存のモデルはそのまま残り、その横にオープンモデルが並びます。

設定

agent-prompt.md
Text
Set up the open-models service in this coding agent for me. Read https://www.rightnowai.co/docs/open-models/guides/coding-agents.md and follow it step by step. If you cannot open links, run `npx -y @runinfra/cli@latest --help` and follow its FOR CODING AGENTS section. I approve sign-in in my browser. Before you install anything, change this agent's settings or spend money, show me the plan and wait for my yes.
  1. プロンプトを貼り付ける

    エージェントのチャットに貼り付けます。

  2. サインインを承認する

    エージェントが示すリンクを開き、コードを入力して Approve を選びます。承認するのは、自分のエージェントが今示したコードだけにしてください。

  3. プランに同意する

    エージェントが、何を変えるかと、短い有料チェック 1 回分を誰が払うかを示します。

設定の流れ。

runinfra agents --json では、検出用 ID qwen-code を使います。

すべての手順はコーディングエージェントを設定するを参照してください。

開始

開始
Qwen Code を完全に再起動します。
モデルを選ぶ
/model でオープンモデルを選びます。

元に戻す

エージェントにオープンモデルの接続解除を頼みます。ほかのプロバイダーはそのまま残ります。