Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom agent prompts #39

Open
dustinlacewell opened this issue Apr 7, 2023 · 1 comment
Open

Custom agent prompts #39

dustinlacewell opened this issue Apr 7, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dustinlacewell
Copy link
Contributor

Currently, the prompt is baked in.

Let's do two things:

  • Load the prompt template from ~/.spellbound or $workspaceRoot/.spellbound if they exist
  • Document available template variables
@dustinlacewell dustinlacewell added good first issue Good for newcomers enhancement New feature or request labels Apr 7, 2023
@dustinlacewell dustinlacewell changed the title Proposal: Custom agent prompts Custom agent prompts Apr 7, 2023
@MajorLift
Copy link

@dustinlacewell Hi! I was introduced to this project by Mike Poteat.
I'd like to take a stab at this.

  • Would it be a matter of altering the fillPrompt method so it can handle arbitrary entries in the params and toolList objects (in addition to the built-in required properties) that the user specifies as ejs variables in .spellbound/prompt.md?
  • And/or is there a separate output destination where documentation about these variables should be generated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants