fix: change .geminiignore to .qwenignore

This commit is contained in:
mingholy.lmh
2025-09-14 19:38:40 +08:00
parent 8bb8660c72
commit 1993156721
23 changed files with 120 additions and 118 deletions

View File

@@ -65,7 +65,7 @@ export interface ReadManyFilesParams {
useDefaultExcludes?: boolean;
/**
* Whether to respect .gitignore and .geminiignore patterns (optional, defaults to true)
* Whether to respect .gitignore and .qwenignore patterns (optional, defaults to true)
*/
file_filtering_options?: {
respect_git_ignore?: boolean;
@@ -149,13 +149,13 @@ ${finalExclusionPatternsForDescription
: 'none specified'
}`;
// Add a note if .geminiignore patterns contributed to the final list of exclusions
// Add a note if .qwenignore patterns contributed to the final list of exclusions
if (geminiIgnorePatterns.length > 0) {
const geminiPatternsInEffect = geminiIgnorePatterns.filter((p) =>
finalExclusionPatternsForDescription.includes(p),
).length;
if (geminiPatternsInEffect > 0) {
excludeDesc += ` (includes ${geminiPatternsInEffect} from .geminiignore)`;
excludeDesc += ` (includes ${geminiPatternsInEffect} from .qwenignore)`;
}
}
@@ -571,7 +571,7 @@ export class ReadManyFilesTool extends BaseDeclarativeTool<
},
file_filtering_options: {
description:
'Whether to respect ignore patterns from .gitignore or .geminiignore',
'Whether to respect ignore patterns from .gitignore or .qwenignore',
type: 'object',
properties: {
respect_git_ignore: {
@@ -581,7 +581,7 @@ export class ReadManyFilesTool extends BaseDeclarativeTool<
},
respect_gemini_ignore: {
description:
'Optional: Whether to respect .geminiignore patterns when listing files. Defaults to true.',
'Optional: Whether to respect .qwenignore patterns when listing files. Defaults to true.',
type: 'boolean',
},
},