Skip to content

Commit bb15e5c

Browse files
authored
Bugfix/Hide agent response for chatflow (#3729)
fix: hide agent response for chatflow
1 parent 2360f5f commit bb15e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/src/views/chatflows/ShareChatbot.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ const ShareChatbot = ({ isSessionMemory, isAgentCanvas }) => {
451451
{colorField(backgroundColor, 'backgroundColor', 'Background Color')}
452452
{textField(fontSize, 'fontSize', 'Font Size', 'number')}
453453
{colorField(poweredByTextColor, 'poweredByTextColor', 'PoweredBy TextColor')}
454-
{booleanField(showAgentMessages, 'showAgentMessages', 'Show Agent Reasoning')}
454+
{isAgentCanvas && booleanField(showAgentMessages, 'showAgentMessages', 'Show Agent Reasoning')}
455455

456456
{/*BOT Message*/}
457457
<Typography variant='h4' sx={{ mb: 1, mt: 2 }}>

0 commit comments

Comments
 (0)