mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
refactor: remove debug console.log statements
This commit is contained in:
parent
9f1babe318
commit
a9a2854886
@ -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);
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user