diff --git a/core/config/markdown/loadMarkdownRules.ts b/core/config/markdown/loadMarkdownRules.ts index d77313b9255..17948a00970 100644 --- a/core/config/markdown/loadMarkdownRules.ts +++ b/core/config/markdown/loadMarkdownRules.ts @@ -42,9 +42,8 @@ export async function loadMarkdownRules(ide: IDE): Promise<{ alwaysApply: true, }); agentFileFound = true; + break; // Use the first found agent file in this workspace } - - break; // Use the first found agent file in this workspace } catch (e) { // File doesn't exist or can't be read, continue to next file }