From f8fc9f8c794f43dc0dea1eaae2a27c2fac9ce59d Mon Sep 17 00:00:00 2001 From: Zhehao Peng <32246435+Zhehao-P@users.noreply.github.com> Date: Sun, 17 Aug 2025 19:01:29 -0700 Subject: [PATCH] feat: add select input support to the conversation opener (#24043) --- .../conversation-opener/modal.tsx | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/web/app/components/base/features/new-feature-panel/conversation-opener/modal.tsx b/web/app/components/base/features/new-feature-panel/conversation-opener/modal.tsx index 51e33c43d..53db991e7 100644 --- a/web/app/components/base/features/new-feature-panel/conversation-opener/modal.tsx +++ b/web/app/components/base/features/new-feature-panel/conversation-opener/modal.tsx @@ -8,6 +8,7 @@ import Modal from '@/app/components/base/modal' import Button from '@/app/components/base/button' import Divider from '@/app/components/base/divider' import ConfirmAddVar from '@/app/components/app/configuration/config-prompt/confirm-add-var' +import PromptEditor from '@/app/components/base/prompt-editor' import type { OpeningStatement } from '@/app/components/base/features/types' import { getInputKeys } from '@/app/components/base/block-input' import type { PromptVariable } from '@/models/debug' @@ -101,7 +102,7 @@ const OpeningSettingModal = ({
ยท
{tempSuggestedQuestions.length}/{MAX_QUESTION_NUM}
- +
{t('appDebug.feature.conversationOpener.title')}
-
+
-