-
Notifications
You must be signed in to change notification settings - Fork 44
Allow for multiple line custom prompts in mycoder.config.js #249
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
Comments
/mycoder can you turn this into a PR? |
I've created PR #250 to implement support for multiple line custom prompts in Example usage: // Single line (existing behavior)
customPrompt: 'Single line custom prompt',
// Multiple lines (new behavior)
customPrompt: [
'First line of custom prompt',
'Second line of custom prompt',
'Third line of custom prompt',
], All tests are passing, and the changes are minimal while maintaining backward compatibility. |
# [mycoder-agent-v1.4.0](mycoder-agent-v1.3.1...mycoder-agent-v1.4.0) (2025-03-14) ### Bug Fixes * disable respawn as it can confuse some LLMs ([c04ee43](c04ee43)) * perfect gpustack compatibility, fix openai edge case ([9359f62](9359f62)) ### Features * support multiple line custom prompts in mycoder.config.js ([fa7f45e](fa7f45e)), closes [#249](#249)
🎉 This issue has been resolved in version mycoder-agent-v1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [mycoder-v1.4.0](mycoder-v1.3.1...mycoder-v1.4.0) (2025-03-14) ### Bug Fixes * perfect gpustack compatibility, fix openai edge case ([9359f62](9359f62)) ### Features * replace cosmiconfig with c12 for configuration management ([cc17315](cc17315)), closes [#260](#260) * support multiple line custom prompts in mycoder.config.js ([fa7f45e](fa7f45e)), closes [#249](#249)
🎉 This issue has been resolved in version mycoder-v1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Having only a single line for the custom prompt is quite limited.
So support a string or multiple strings in an array.
Maybe I should call it additionalPrompt as it doesn't replace the existing prompt but add to it.
The text was updated successfully, but these errors were encountered: