[Desktop] Show effective model in background-agent list and detail views
- 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ả
> *This was generated by AI during triage.*
## Problem
Desktop Background agents list and detail views do not show which model performed the delegated work.
Task names sometimes mention a model, but they are user-authored and are not reliable metadata. Runtime model metadata is already persisted per session and usage event.
## Motivation
Model visibility helps users audit delegated work, compare agent runs, and understand Auto routing or differences in output.
## Proposed solution
Enrich the existing Desktop surfaces:
- **Background agents list:** show a short effective-model badge.
- **Agent detail/header:** show the model display name and stable model ID.
- Support truncation and tooltips; do not rely on color alone.
## Display semantics
- **Running:** latest effective model.
- **Completed:** effective model used.
- **Auto:** concrete routed model, with configured `Auto` optionally shown secondarily.
- **Unavailable:** `Unknown`; never infer from the parent session.
- **Multiple models:** `Mixed` in the list, with models shown per turn or as a list in details.
Terminology should align with the effective-model states introduced by #3824.
## Example workflow
1. Delegate several background agents using pinned and Auto-selected models.
2. Open **Background agents** to compare the effective models.
3. Open an agent to see its full model identity.
## Acceptance criteria
- List rows show the effective model when available.
- Detail headers show the display name and stable model ID.
- Auto-routed agents show the concrete effective model.
- Missing metadata displays `Unknown`.
- Multi-model agents display `Mixed`, with details available in the agent view.
- A live `Resolving...` transition is optional.
## Out of scope
- A new CLI/TUI worker panel.
- Reasoning-effort or context-tier display.
- Changing model selection or routing.
- Making the subagent aware of its model.
## Related issues
- https://github.com/github/copilot-cli/issues/1783 - requests a new CLI/TUI worker panel; this request concerns existing Desktop views.
- https://github.com/github/copilot-cli/issues/3824 - effective-model display in the CLI; useful parity context.
## Environment
- GitHub Copilot desktop app v1.0.25
- App-spawned CLI v1.0.71
- Windows 11
Cropped screenshots can be attached showing the missing model field in the Background agents list and agent header.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tìm danh sách tác nhân chạy nền Desktop hiện có và các chế độ xem chi tiết/tiêu đề tác nhân, sau đó lần theo metadata mô hình runtime được lưu bền vững từ các phiên và sự kiện sử dụng. Kiểm tra các trạng thái mô hình hiệu dụng được giới thiệu trong #3824. Hoàn thành khi các hàng trong danh sách và tiêu đề chi tiết hiển thị các trạng thái mô hình được chỉ định, bao gồm các trường hợp Auto routing, Unknown và Mixed, mà không chỉ dựa vào màu sắc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- desktop
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100