more chars

This commit is contained in:
Tommy D. Rossi
2025-11-22 12:00:02 +01:00
parent 71c1c75359
commit 7d237cff5c
+1 -1
View File
@@ -383,7 +383,7 @@ server.tool(
responseText += 'Code executed successfully (no output)'
}
const MAX_LENGTH = 5000
const MAX_LENGTH = 6000
let finalText = responseText.trim()
if (finalText.length > MAX_LENGTH) {
finalText = finalText.slice(0, MAX_LENGTH) + `\n\n[Truncated to ${MAX_LENGTH} characters. Better manage your logs or paginate them to read the full logs]`