diff --git a/src/utils/promptGenerator.ts b/src/utils/promptGenerator.ts index 4513007..acbaee0 100644 --- a/src/utils/promptGenerator.ts +++ b/src/utils/promptGenerator.ts @@ -107,32 +107,7 @@ export class PromptGenerator { return this.generateXMLPrompt(filteredContents, settings); } - /** - * Generate a plain text prompt - * @param files Map of file paths to content and token counts - * @param settings Settings to apply - * @returns Plain text prompt - */ - private static generatePlainPrompt(files: Map, settings: PrompterSettings): string { - let promptText = ''; - let totalTokenCount = 0; - - for (const [filePath, { content, tokens }] of files) { - const fileName = path.basename(filePath); - totalTokenCount += tokens; - - promptText += `File: ${fileName}\n`; - promptText += `${content}\n`; - promptText += '\n'; - } - - if (settings.tokenCalculationEnabled) { - promptText += `\nEstimated token count: ${totalTokenCount}`; - } - - return promptText; - } - + /** * Generate an XML formatted prompt following the new schema format * @param files Map of file paths to content and token counts