We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 557675c commit 595db99Copy full SHA for 595db99
npm-app/src/project-files.ts
@@ -283,8 +283,15 @@ export const getProjectFileContext = async (
283
)
284
285
const knowledgeFiles = getExistingFiles(filteredKnowledgeFilePaths)
286
- const knowledgeFilesWithScrapedContent =
287
- await addScrapedContentToFiles(knowledgeFiles)
+ const knowledgeFilesWithScrapedContent = await addScrapedContentToFiles(
+ Object.fromEntries(
288
+ Object.entries(knowledgeFiles).filter(
289
+ ([filePath]) =>
290
+ filePath !== codebuffConfigFile.toLowerCase() &&
291
+ filePath !== codebuffConfigFileBackup.toLowerCase(),
292
+ ),
293
294
+ )
295
296
// Get knowledge files from user's home directory
297
const homeDir = os.homedir()
0 commit comments