瀏覽代碼

Update home.tsx

Yifei Zhang 2 年之前
父節點
當前提交
17ee2ee135
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;