eca icon indicating copy to clipboard operation
eca copied to clipboard

Add more ECA prompts to be configurable

Open michaelwhitford opened this issue 10 months ago • 3 comments

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

I would like to be able to replace all the prompts in ECA with my own custom prompts. Currently only the system prompt is configurable. Would it be feasible to add every prompt to the config? I would rather not have to fork ECA to change the hard coded prompts, like for tools. I have a system that lets me reduce the token count for prompts and would like to use it with all of the ECA prompts.

michaelwhitford avatar Jan 17 '26 14:01 michaelwhitford

I'm thinking in some kind of new config deprecating systemPrompts everywhere:

:prompts {:chat "..."
          :chatTitle "..."
          :compact "..."
          :init "..."
          :completion "..."
          :rewrite "..."
          :tools {"eca__edit_file" "..."}}

ericdallo avatar Jan 18 '26 14:01 ericdallo

I think that will work well and would allow me to "skin" the prompts from eca to reduce tokens.

michaelwhitford avatar Jan 18 '26 18:01 michaelwhitford

Done! you can override multiple prompts, including tools descriptions via prompts tools <toolName>.

ericdallo avatar Jan 19 '26 17:01 ericdallo