Improve dynamic spawn_agent prompt
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Clojure
- 星號
- 1k
- 分支
- 82
- 平均合併
- 1 天 21 小時
- 30 天內合併 PR
- 25
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
editor-code-assistant/eca 的其他 Issue
-
Models doesn't work when fetchModels: false is used可能已有人在做 @zikajk 於 10 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 78/100
editor-code-assistant/eca#661 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
bug
難度 3/5 1-2 天 新手友好度 52/100
editor-code-assistant/eca#685 ·
維護者通常 2 天內回覆
-
難度 5/5 一週以上 新手友好度 35/100
editor-code-assistant/eca#684 · 4 則留言 ·
維護者通常 2 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 48/100
editor-code-assistant/eca#683 · 2 則留言 ·
維護者通常 2 天內回覆
-
bug
難度 3/5 1-2 天 新手友好度 74/100
editor-code-assistant/eca#672 ·
維護者通常 2 天內回覆
查看 editor-code-assistant/eca 的全部 Issue
相似的 Issue
-
bug namespace v1 blocker
難度 2/5 1-3 小時 新手友好度 75/100
oakmac/standard-clojure-style-js#269 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
module:rest-api
難度 1/5 1 小時以內 新手友好度 85/100
維護者通常 1 天內回覆
-
WG adoption
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆