github / github/copilot-cli

1.0.82 Regression: Unknown command: /model with BYOK

オープン
#4,672 コメント 2 件 リアクション 6 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:configuration area:models
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug

As of 1.0.81/82 the /model command apparently does nto work anymore if the model is set via environment variables for BYOK (see https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models)

On e.g. Azure AI Foundry multiple models can be hosted and I used the /model command to switch between models (like gpt-5.6-luna/terra/sol) based on requirements, this does not work anymore.

Affected version

1.0.81 and 1.0.82, it works with 1.0.80 on windows x64, verified this by manually downgrading the cli version.

Steps to reproduce the behavior
  1. setup azure ai foundry, deploy a few gpt-5.6 models
  2. run github copilot cli like this:

SET COPILOT_PROVIDER_BASE_URL=https://my-azure-ai-foundry.com/openai/v1
SET COPILOT_PROVIDER_API_KEY=key

SET COPILOT_PROVIDER_TYPE=azure
SET COPILOT_PROVIDER_WIRE_API=responses
SET COPILOT_MODEL=gpt-5.6-luna
copilot --reasoning-effort max
Expected behavior

I can select the model after starting copilot with BYOK settings.

Additional context

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、ドキュメントに記載された COPILOT_PROVIDER_* および COPILOT_MODEL 環境変数を使って失敗を再現し、その後、バージョン 1.0.80 と 1.0.81/82 での /model の動作を比較します。Azure AI Foundry BYOK 設定で copilot を起動した後にモデルを選択できることを、responses wire API を含めて確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。