Просмотр исходного кода

feat: agent app support generate prompt (#7007)

Joel 1 год назад
Родитель
Сommit
c110888aee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx

+ 1 - 1
web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx

@@ -166,7 +166,7 @@ const Prompt: FC<ISimplePromptInput> = ({
               )}
               )}
             </div>
             </div>
             <div className='flex items-center'>
             <div className='flex items-center'>
-              {!isAgent && !readonly && !isMobile && (
+              {!readonly && !isMobile && (
                 <AutomaticBtn onClick={showAutomaticTrue} />
                 <AutomaticBtn onClick={showAutomaticTrue} />
               )}
               )}
             </div>
             </div>