From d2074e4937313f01d11807a7bc0a79230c04e57f Mon Sep 17 00:00:00 2001 From: Theodore Li Date: Sat, 16 May 2026 15:38:18 -0700 Subject: [PATCH] fix(copilot): upload sandbox-rendered bytes for docx/pptx/pdf creation --- apps/sim/lib/copilot/tools/server/files/edit-content.ts | 7 ++++--- apps/sim/lib/copilot/tools/server/files/workspace-file.ts | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/sim/lib/copilot/tools/server/files/edit-content.ts b/apps/sim/lib/copilot/tools/server/files/edit-content.ts index 22d9539ba88..2bcaaa2be7a 100644 --- a/apps/sim/lib/copilot/tools/server/files/edit-content.ts +++ b/apps/sim/lib/copilot/tools/server/files/edit-content.ts @@ -201,9 +201,10 @@ export const editContentServerTool: BaseServerTool