From 17ee2ee1359e620020d2799df3ffc9f0b532c8d6 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Wed, 29 Mar 2023 02:19:20 +0800 Subject: [PATCH] Update home.tsx --- app/components/home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index 1a84d727..828ee191 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -203,7 +203,7 @@ export function Chat(props: { showSideBar?: () => void }) { }; // only search prompts when user input is short - const SEARCH_TEXT_LIMIT = 10; + const SEARCH_TEXT_LIMIT = 30; const onInput = (text: string) => { setUserInput(text); const n = text.trim().length;