ソースを参照

feat: Increase the number of Opening Questions in the Conversation Opener (#11233)

Hiroshi Fujita 4 ヶ月 前
コミット
9bc5bc2548

+ 1 - 1
web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx

@@ -22,7 +22,7 @@ import { getNewVar } from '@/utils/var'
 import { varHighlightHTML } from '@/app/components/app/configuration/base/var-highlight'
 import Toast from '@/app/components/base/toast'
 
-const MAX_QUESTION_NUM = 5
+const MAX_QUESTION_NUM = 10
 
 export type IOpeningStatementProps = {
   value: string

+ 1 - 1
web/app/components/base/features/new-feature-panel/conversation-opener/modal.tsx

@@ -22,7 +22,7 @@ type OpeningSettingModalProps = {
   onAutoAddPromptVariable?: (variable: PromptVariable[]) => void
 }
 
-const MAX_QUESTION_NUM = 5
+const MAX_QUESTION_NUM = 10
 
 const OpeningSettingModal = ({
   data,