From 4b8288a2b2c8cbd6567fea0b729537b1696b54af Mon Sep 17 00:00:00 2001 From: river Date: Thu, 12 Sep 2024 21:05:02 +0800 Subject: [PATCH] fix: #4240 remove tip when 0 context --- app/components/chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 2a9ef0d57de..300367151c7 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -192,7 +192,7 @@ function PromptToast(props: { return (
- {props.showToast && ( + {props.showToast && context.length > 0 && (