Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ACP: let clients select the session agent

Đang mở
#4,475 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

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

Hướng nghiên cứu

Start with the ACP handlers for session/new, session/load, session/resume, and session/set_config_option, then trace the existing agent-switch path and how model and safety selections are persisted. Done means clients can discover and select a team agent across those session operations, with the selection retained on load/resume; the optional docker agent serve acp flag is a separate consideration.

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

Mô tả

area/acp area/sessions
Overview

ACP sessions always start with the default agent (root, or the first agent). Please let clients pick the agent, e.g. via an agent config option next to mode, model, and thought_level from #4445.

Motivation

Today the only ways to reach another agent over ACP are agent-switch commands (#4391), one per target agent, or a separate config file per entry agent. Neither shows the agents in the client UI, and a command switch is lost on cold session/load/session/resume.

Proposed solution
  • Advertise an agent select option (team agents with their descriptions) in session/new/load/resume.
  • Handle it in session/set_config_option via the agent-switch code path, and persist it like the model and safety selections.
  • Optionally, add --agent <name> to docker agent serve acp.
Related issues

#4445, #4391, #2576

docker-agent v1.144.0.

Ngôn ngữ chính
Go
Star
3.4k
Fork
466
Merge trung bình
7 giờ 1 phút
Pull request đã merge (30 ngày)
332

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của docker/docker-agent

Tất cả issue của docker/docker-agent

Issue tương tự

Thêm issue về Go

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.