diff --git a/web/app/components/app/configuration/config/agent/agent-tools/setting-built-in-tool.tsx b/web/app/components/app/configuration/config/agent/agent-tools/setting-built-in-tool.tsx index 69e18e3136..254e248c05 100644 --- a/web/app/components/app/configuration/config/agent/agent-tools/setting-built-in-tool.tsx +++ b/web/app/components/app/configuration/config/agent/agent-tools/setting-built-in-tool.tsx @@ -106,23 +106,22 @@ const SettingBuiltInTool: FC = ({ {infoSchemas.length > 0 && ( -
-
-
{t('tools.setBuiltInTools.parameters')}
-
+
+
+ {t('tools.setBuiltInTools.parameters')}
-
+
{infoSchemas.map((item: any, index) => ( -
-
-
{item.label[language]}
-
{item.type === 'number-input' ? t('tools.setBuiltInTools.number') : t('tools.setBuiltInTools.string')}
+
+
+
{item.label[language]}
+
{item.type === 'number-input' ? t('tools.setBuiltInTools.number') : t('tools.setBuiltInTools.string')}
{item.required && ( -
{t('tools.setBuiltInTools.required')}
+
{t('tools.setBuiltInTools.required')}
)}
{item.human_description && ( -
+
{item.human_description?.[language]}
)} @@ -192,9 +191,9 @@ const SettingBuiltInTool: FC = ({ )}
)} - panelClassName='mt-[65px] !w-[405px]' - maxWidthClassName='!max-w-[405px]' - height='calc(100vh - 65px)' + panelClassName='mt-[64px] mb-2 !w-[420px]' + maxWidthClassName='!max-w-[420px]' + height='calc(100vh - 64px)' headerClassName='!border-b-black/5' body={
@@ -203,7 +202,7 @@ const SettingBuiltInTool: FC = ({
: (
-
+
{isInfoActive ? infoUI : settingUI}
{!readonly && !isInfoActive && ( diff --git a/web/app/components/tools/setting/build-in/config-credentials.tsx b/web/app/components/tools/setting/build-in/config-credentials.tsx index 23ef867feb..167cef27f1 100644 --- a/web/app/components/tools/setting/build-in/config-credentials.tsx +++ b/web/app/components/tools/setting/build-in/config-credentials.tsx @@ -61,9 +61,9 @@ const ConfigCredential: FC = ({ onHide={onCancel} title={t('tools.auth.setupModalTitle') as string} titleDescription={t('tools.auth.setupModalTitleDescription') as string} - panelClassName='mt-2 !w-[405px]' - maxWidthClassName='!max-w-[405px]' - height='calc(100vh - 16px)' + panelClassName='mt-[64px] mb-2 !w-[420px]' + maxWidthClassName='!max-w-[420px]' + height='calc(100vh - 64px)' contentClassName='!bg-gray-100' headerClassName='!border-b-black/5' body={