anthropics / anthropics/claude-code

[Bug] Terminal UI displays incorrect model name when subagents launch or switch models

Đang mở
#93,324 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:agents area:tui duplicate platform:linux platform:vscode
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

Describe the bug
When a subagent is launched, the actual underlying model works properly, but the terminal interface displays the incorrect model name. This mislabeling occurs when explicitly suggesting a different model or when an automatic model switch takes place.

Steps to Reproduce

Launch a subagent task inside Claude Code.

Pass an explicit model override or trigger an automatic model change.

Observe the model name reported in the terminal output.

Expected Behavior
The terminal UI should accurately reflect the active model name being used by the running subagent.

Actual Behavior
The subagent executes with the correct model, but the terminal UI displays an incorrect model label/name.

Environment Info

Platform: Linux

Terminal/Host: VS Code

Version: 2.1.267

Feedback ID: db47aa24-ba3a-49cc-8dea-36ff22851782

Errors
JSON

[]

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Reproduce the issue in Claude Code 2.1.267 on Linux through VS Code, using both an explicit subagent model override and an automatic model switch. Trace how the terminal UI obtains the model label during subagent launch and switching. Done means the terminal consistently displays the active underlying model in both cases, with regression coverage for each path.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, vscode
Lĩnh vực
ai, cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.