fix agent configuration

This commit is contained in:
JzoNg 2024-03-19 08:55:47 +08:00
parent 3ee9f74cf8
commit 3b4676d8e9
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ const Prompt: FC<ISimplePromptInput> = ({
<div className='rounded-xl bg-[#EEF4FF]'>
<div className="flex justify-between items-center h-11 px-3">
<div className="flex items-center space-x-1">
<div className='h2'>{mode === AppType.chat ? t('appDebug.chatSubTitle') : t('appDebug.completionSubTitle')}</div>
<div className='h2'>{mode !== AppType.completion ? t('appDebug.chatSubTitle') : t('appDebug.completionSubTitle')}</div>
{!readonly && (
<Tooltip
htmlContent={<div className='w-[180px]'>

View File

@ -238,7 +238,7 @@ const Config: FC = () => {
<DatasetConfig />
{/* Tools */}
{(isAgent && isChatApp) && (
{isAgent && (
<AgentTools />
)}