From 12840787994205fa5eb722c06b0870f9fe20fc8f 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 --- vibn-frontend/app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vibn-frontend/app/api/chat/route.ts b/vibn-frontend/app/api/chat/route.ts index 5945f263..0cdf7922 100644 --- a/vibn-frontend/app/api/chat/route.ts +++ b/vibn-frontend/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 {