From 341e40c8d515a18c9034004a137e4297153d9358 Mon Sep 17 00:00:00 2001 From: mawkone Date: Tue, 9 Jun 2026 13:38:32 -0700 Subject: [PATCH] chore(telemetry): align attached-file reader to flattened project root path --- app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 5945f263..0cdf7922 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -638,7 +638,7 @@ export async function POST(request: Request) { try { const res = (await execInDevContainer({ projectId: activeProject.id, - command: `cat "/workspace/${activeProject.slug}/${safePath}" 2>/dev/null || echo "[File not found]"`, + command: `cat "/workspace/${safePath}" 2>/dev/null || echo "[File not found]"`, })) as unknown as { exitCode: number; stdout: string }; fileContextsBlock += `\nFile: \`${safePath}\`\n\`\`\`\n${res.stdout}\n\`\`\`\n`; } catch {