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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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