fix: hide automatic button on automatic result page (#4494)

This commit is contained in:
sino
2024-05-22 16:44:20 +08:00
committed by GitHub
parent 4f62541bfb
commit 2988b67c24

View File

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