diff --git a/core/config/markdown/loadCodebaseRules.ts b/core/config/markdown/loadCodebaseRules.ts index da8bbfc6a..12d88290b 100644 --- a/core/config/markdown/loadCodebaseRules.ts +++ b/core/config/markdown/loadCodebaseRules.ts @@ -43,25 +43,12 @@ export async function loadCodebaseRules(ide: IDE): Promise<{ return filename === "rules.md"; }); - console.log(`Found ${rulesMdFiles.length} rules.md files in the workspace`); - // Process each rules.md file for (const filePath of rulesMdFiles) { try { const content = await ide.readFile(filePath); const rule = convertMarkdownRuleToContinueRule(filePath, content); - // If the rule doesn't have globs specified, we'll log that fact for debugging - if (!rule.globs) { - console.log( - `Rule in ${filePath} doesn't have explicit globs - it will be applied based on directory location: ${getDirname(filePath)}`, - ); - } else { - console.log( - `Rule in ${filePath} has explicit globs: ${typeof rule.globs === "string" ? rule.globs : JSON.stringify(rule.globs)}`, - ); - } - rules.push(rule); } catch (e) { errors.push({ diff --git a/core/llm/rules/getSystemMessageWithRules.ts b/core/llm/rules/getSystemMessageWithRules.ts index b9e2e53ca..35e8399ab 100644 --- a/core/llm/rules/getSystemMessageWithRules.ts +++ b/core/llm/rules/getSystemMessageWithRules.ts @@ -103,9 +103,6 @@ const isFileInDirectory = ( // For logging const result = containsDir; - console.log( - `[RULES_DEBUG] Checking if file '${normalizedFilePath}' is in directory '${normalizedDirPath}' (dir name: ${dirName}): ${result}`, - ); return result; };