From 641df474fd5e924fb7a8a941da386e79c5355f90 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 5 Aug 2025 08:34:06 +0700 Subject: [PATCH] fix: Generate A Response button does not show context size error dialog (#6029) * fix: Generate A Response button does not show context size error dialog * chore: remove as a child button params --- web-app/src/containers/dialogs/OutOfContextDialog.tsx | 7 +++++-- web-app/src/hooks/useChat.ts | 3 +-- web-app/src/routes/threads/$threadId.tsx | 7 +++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/web-app/src/containers/dialogs/OutOfContextDialog.tsx b/web-app/src/containers/dialogs/OutOfContextDialog.tsx index d73fdacc4..dad3f84e5 100644 --- a/web-app/src/containers/dialogs/OutOfContextDialog.tsx +++ b/web-app/src/containers/dialogs/OutOfContextDialog.tsx @@ -36,7 +36,10 @@ export default function OutOfContextPromiseModal() { return ( - + e.preventDefault()} + > {t('model-errors:title')} @@ -57,7 +60,7 @@ export default function OutOfContextPromiseModal() { {t('model-errors:truncateInput')}