mirror of
https://github.com/langgenius/dify.git
synced 2026-04-14 16:08:01 +08:00
fix agent configuration
This commit is contained in:
parent
3ee9f74cf8
commit
3b4676d8e9
@ -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]'>
|
||||
|
||||
@ -238,7 +238,7 @@ const Config: FC = () => {
|
||||
<DatasetConfig />
|
||||
|
||||
{/* Tools */}
|
||||
{(isAgent && isChatApp) && (
|
||||
{isAgent && (
|
||||
<AgentTools />
|
||||
)}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user