diff --git a/app/components/chat/Chat.client.tsx b/app/components/chat/Chat.client.tsx index c43ef5be..1c6eca2f 100644 --- a/app/components/chat/Chat.client.tsx +++ b/app/components/chat/Chat.client.tsx @@ -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); diff --git a/app/lib/.server/llm/stream-text.ts b/app/lib/.server/llm/stream-text.ts index fcfbc9d6..0ee28052 100644 --- a/app/lib/.server/llm/stream-text.ts +++ b/app/lib/.server/llm/stream-text.ts @@ -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: