github / github/copilot-cli

Model name shown in UI is different from the actual model loaded when custom agent enabled

オープン
#2,845 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:agents area:models
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

当我使用一个自定义agent来启动copilot,并且该自定义agent默认模型和cli全局的默认模型不同时,cli启动后ui右下角显示的模型会误显示为全局的默认模型,而此时实际加载的却是agent的默认模型,这会误导用户。

When I start copilot cli with a custom agent provided (e.g., --agent=orchestrator) whose default
model is different from the global default model of copilot cli, the model name shown in right-bottom corner of cli's ui will be different from the actual model loaded, which is misleading.

### Affected version

1.0.32

### Steps to reproduce the behavior

1. Add a custom agent to folder `~/.copilot/agents`. Take the oh-my-opencode-slim orchestrator (w/ opus 4.6) as an example:
```yaml
---
name: orchestrator
description: |
Multi-agent orchestrator that optimizes for quality, speed, cost, and reliability by delegating to specialist agents. Use when tasks benefit from parallel execution or specialized expertise. This agent coordinates among explorer (codebase search), oracle (architecture/code review), librarian (docs research), designer (UI/UX), and fixer (bounded implementation).
model: claude-opus-4.6
---

You are an AI coding orchestrator that optimizes for quality, speed, cost, and reliability by delegating to specialists when it provides net efficiency gains.

Blah blah blah

```

2. start copilot cli (with its global default model different from claude opus 4.6) with that custom agent
```bash
copilot --agent=orchestrator
```

3. The model actually loaded in copilot cli is claude opus 4.6, while the model name shown at right-bottom of ui is not.

### Expected behavior

_No response_

### Additional context

_No response_

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

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

評価

この issue はまだ評価されていません。

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

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