Explorar o código

Update home.tsx

Yifei Zhang %!s(int64=2) %!d(string=hai) anos
pai
achega
17ee2ee135
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/components/home.tsx

+ 1 - 1
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;