Skip to content

Conversation

bhouston
Copy link
Member

@bhouston bhouston commented Mar 5, 2025

Add customPrompt configuration option

This PR implements issue #95 by adding a new customPrompt configuration option that allows users to append custom instructions to the system prompt for both the main agent and sub-agents.

Changes

  • Added customPrompt to the ToolContext type (default: empty string)
  • Modified the default system prompt to include the customPrompt when provided
  • Ensured the customPrompt is properly passed to sub-agents
  • Updated README.md with documentation and examples for the new configuration option

Testing

  • Verified that customPrompt is properly passed to both main agent and sub-agents
  • Tested with example prompts to ensure they don't break the system prompt structure

Documentation

  • Added customPrompt to the "Available Configuration Options" section in README.md
  • Added an example showing how to set a custom prompt using the config command

Closes #95

@bhouston bhouston merged commit e491f3a into main Mar 5, 2025
1 check failed
Copy link

🎉 This PR is included in version mycoder-agent-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version mycoder-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bhouston bhouston deleted the feature/95-custom-prompt branch March 12, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add customPrompt configuration option

1 participant