github / github/copilot-cli

model change not functional

未关闭
#510 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
more-info-needed unable-to-reproduce
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Changing model seems to be non functional (I tried to use haiku 4.5, shown Haiku over the prompt bar, but GPT5 shown when calling /usage)
```
✗ Execution failed: missing finish_reason for choice 0

● Total usage est: 7 Premium requests
Total duration (API): 1m 23.2s
Total duration (wall): 9m 5.5s
Total code changes: 102 lines added, 0 lines removed
Usage by model:
gpt-5 157.5k input, 4.2k output, 0 cache read, 0 cache write (Est. 7 Premium requests)

claude-haiku-4.5 (0.33x)
```

### Affected version

0.0.354 Commit: 076bd172b

### Steps to reproduce the behavior

1. type /model and select Claude Haiku 4.5
2. prompt requests
3. call /usage and see which model was used (GPT)

### Expected behavior

copilot-cli should show Haiku usage when calling /usage

### Additional context

macOS Tahoe, Mac Pro M1.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。