Improve dynamic spawn_agent prompt
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- ai-infra-agents
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Clojure
- Stelle
- 1k
- Fork
- 82
- Merge medio
- 1g 21h
- PR unite (30g)
- 25
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di editor-code-assistant/eca
-
Models doesn't work when fetchModels: false is usedForse già presa @zikajk l’ha presa 11 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
editor-code-assistant/eca#661 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
editor-code-assistant/eca#685 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
editor-code-assistant/eca#684 · 4 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
editor-code-assistant/eca#683 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 74/100
editor-code-assistant/eca#672 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di editor-code-assistant/eca
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
bug namespace v1 blocker
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
oakmac/standard-clojure-style-js#269 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
module:rest-api
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
WG adoption
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno