From 3b4676d8e9148980900b1e9d08723d1846564db3 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Tue, 19 Mar 2024 08:55:47 +0800 Subject: [PATCH] fix agent configuration --- .../app/configuration/config-prompt/simple-prompt-input.tsx | 2 +- web/app/components/app/configuration/config/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx b/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx index caf2392d36..9b7dd731b4 100644 --- a/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx +++ b/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx @@ -136,7 +136,7 @@ const Prompt: FC = ({
-
{mode === AppType.chat ? t('appDebug.chatSubTitle') : t('appDebug.completionSubTitle')}
+
{mode !== AppType.completion ? t('appDebug.chatSubTitle') : t('appDebug.completionSubTitle')}
{!readonly && ( diff --git a/web/app/components/app/configuration/config/index.tsx b/web/app/components/app/configuration/config/index.tsx index a7275ff781..02c48bce0c 100644 --- a/web/app/components/app/configuration/config/index.tsx +++ b/web/app/components/app/configuration/config/index.tsx @@ -238,7 +238,7 @@ const Config: FC = () => { {/* Tools */} - {(isAgent && isChatApp) && ( + {isAgent && ( )}