refactor: remove debug console.log statements

This commit is contained in:
KevIsDev 2025-05-07 13:46:47 +01:00
parent 9f1babe318
commit a9a2854886
2 changed files with 0 additions and 3 deletions

View File

@ -234,7 +234,6 @@ export const ChatImpl = memo(
const { parsedMessages, parseMessages } = useMessageParser();
const TEXTAREA_MAX_HEIGHT = chatStarted ? 400 : 200;
console.log('files:', files);
useEffect(() => {
chatStore.setKey('started', initialMessages.length > 0);

View File

@ -159,7 +159,6 @@ ${props.summary}
if (files) {
for (const [filePath, fileDetails] of Object.entries(files)) {
if (fileDetails?.isLocked) {
console.log('File is locked: ', filePath);
effectiveLockedFilePaths.add(filePath);
}
}
@ -169,7 +168,6 @@ ${props.summary}
const lockedFilesListString = Array.from(effectiveLockedFilePaths)
.map((filePath) => `- ${filePath}`)
.join('\n');
console.log('Effective locked files for prompt:', lockedFilesListString);
systemPrompt = `${systemPrompt}
IMPORTANT: The following files are locked and MUST NOT be modified in any way. Do not suggest or make any changes to these files. You can proceed with the request but DO NOT make any changes to these files specifically: