github / github/copilot-cli

model change not functional

Đang mở
#510 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
more-info-needed unable-to-reproduce
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.