-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Filter out .md files when loading agent configs #9537
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
Conversation
During config loading in core, if any non-YAML files are in .continue/agents or .continue/assistants directories, it tries to load them as configs. This change filters out .md files by explicitly setting fileExtType to 'yaml' when loading agent and assistant config profiles. The getAllDotContinueDefinitionFiles function already supports filtering by file extension type, but it wasn't being used in ConfigHandler. This ensures only .yaml and .yml files are loaded as config profiles, preventing errors when markdown documentation files exist in the agents/assistants directories. Co-authored-by: dallin <dallin@continue.dev> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
1 similar comment
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
1 similar comment
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
|
|
✅ Review Complete Code Review Summary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
|
🎉 This PR is included in version 1.39.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |

During config loading in core, if any non-YAML files are in .continue/agents or .continue/assistants directories, it tries to load them as configs. This change filters out .md files by explicitly setting fileExtType to 'yaml' when loading agent and assistant config profiles.
The getAllDotContinueDefinitionFiles function already supports filtering by file extension type, but it wasn't being used in ConfigHandler. This ensures only .yaml and .yml files are loaded as config profiles, preventing errors when markdown documentation files exist in the agents/assistants directories.
This task was co-authored by dallin and Continue.
Continue Tasks
Powered by Continue
Summary by cubic
Ensure only YAML agent and assistant configs are loaded, preventing errors when .md docs exist in .continue/agents and .continue/assistants.
Sets fileExtType: "yaml" in ConfigHandler when calling getAllDotContinueDefinitionFiles.
Written for commit 529d50a. Summary will update on new commits.