From da30c25efab3e773d98aa5237ec075d03df154a3 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Wed, 29 Oct 2025 15:34:59 -0700 Subject: [PATCH] improvement(chat): increase max files to 15 and resolve workflow variables in webhook execution (#1764) * improvement(chat): increase max files to 15 and resolve workflow variables in webhook execution * fix workflow vars * fix for schedules --- apps/sim/app/chat/components/input/input.tsx | 4 ++-- .../components/panel/components/chat/chat.tsx | 8 ++++---- .../chat-file-upload/chat-file-upload.tsx | 2 +- apps/sim/background/schedule-execution.ts | 13 +------------ apps/sim/background/webhook-execution.ts | 6 ++---- 5 files changed, 10 insertions(+), 23 deletions(-) diff --git a/apps/sim/app/chat/components/input/input.tsx b/apps/sim/app/chat/components/input/input.tsx index 9cce11a17..9cc88cafc 100644 --- a/apps/sim/app/chat/components/input/input.tsx +++ b/apps/sim/app/chat/components/input/input.tsx @@ -105,7 +105,7 @@ export const ChatInput: React.FC<{ const newFiles: AttachedFile[] = [] const maxSize = 10 * 1024 * 1024 // 10MB limit - const maxFiles = 5 + const maxFiles = 15 for (let i = 0; i < selectedFiles.length; i++) { if (attachedFiles.length + newFiles.length >= maxFiles) break @@ -340,7 +340,7 @@ export const ChatInput: React.FC<{