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

Improve dynamic spawn_agent prompt

Đang mở
#671 2 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 2 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
ai-infra-agents

Hướng nghiên cứu

The config override for the spawn_agent prompt is read in src/eca/features/tools.clj near line 372, and the dynamic agent list is built in src/eca/features/tools/agent.clj near line 521. Start by tracing where the built list is joined to the base prompt, and why that join is skipped when the prompt is overridden. Done means a custom spawn_agent prompt in config.json still gets the list of agents from ~/.config/eca/agents/ appended. The issue thread has no decision on where the list should be placed, so confirm that with a maintainer first.

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

Mô tả

The spawn_agent tool generates a dynamic list of agents to create the prompt. There is a markdown prompt file, and eca appends the lists of agents it builds from markdown files in the ~/.config/eca/agents/ folder. If I replace the prompt for spawn_agent in my local config.json, the list of agents is not appended to my custom prompt. The override for the prompt does not trigger the appending of the list of dynamic agents. So to override the spawn_agent prompt, I have to manually add all the agents to my prompt or else eca will not see them. I would like eca to allow to override the spawn_agent prompt, but still append the list of dynamic agents.

Essentially the spawn_agent prompt is partially generated, and if I use the normal override from config, the generated part is never appended.

The override is at src/eca/features/tools.clj:372
The agent build is at src/eca/features/tools/agent.clj:521

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Ngôn ngữ chính
Clojure
Star
1k
Fork
82
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
23

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 editor-code-assistant/eca

Tất cả issue của editor-code-assistant/eca

Issue tương tự

Thêm issue về Clojure

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.