diff --git a/.gitignore b/.gitignore index 5230746..2022aeb 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ node_modules/ *.njsproj *.sln *.sw? +.codellm # OS specific # Task files and project management diff --git a/backend/src/index.ts b/backend/src/index.ts index 3dbcd1e..2603074 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -441,10 +441,6 @@ function trimMessages(store: ChatMessage[]): void { // Replace store contents store.length = 0; store.push(...newStore); - - const newRegularCount = regularCount - toRemove; - const specialCount = specialIndices.length; - console.log(`[Backend] Trimmed ${toRemove} regular messages. Now: ${newRegularCount} regular + ${specialCount} special = ${store.length} total`); } }