From f3883239877f4faf38820c8e164f930283031fa4 Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Sat, 14 Mar 2026 02:34:34 +0900 Subject: [PATCH] chore: increase text file inline limit from 8000 to 32000 chars 11k char deployment logs were getting truncated, cutting off the actual error. 32k is safe for 200k context window. --- src/channels/discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels/discord.ts b/src/channels/discord.ts index f11fee2..787ed71 100644 --- a/src/channels/discord.ts +++ b/src/channels/discord.ts @@ -278,7 +278,7 @@ export class DiscordChannel implements Channel { if (!res.ok) throw new Error(`Download failed: ${res.status}`); let text = await res.text(); // Truncate very large files - const MAX_TEXT_LENGTH = 8000; + const MAX_TEXT_LENGTH = 32_000; if (text.length > MAX_TEXT_LENGTH) { text = text.slice(0, MAX_TEXT_LENGTH) +