Bugfix/Hide agent response for chatflow (#3729)

fix: hide agent response for chatflow
This commit is contained in:
richersoon
2024-12-19 06:38:40 +08:00
committed by GitHub
parent 2360f5fdeb
commit bb15e5c2c0
@@ -451,7 +451,7 @@ const ShareChatbot = ({ isSessionMemory, isAgentCanvas }) => {
{colorField(backgroundColor, 'backgroundColor', 'Background Color')}
{textField(fontSize, 'fontSize', 'Font Size', 'number')}
{colorField(poweredByTextColor, 'poweredByTextColor', 'PoweredBy TextColor')}
{booleanField(showAgentMessages, 'showAgentMessages', 'Show Agent Reasoning')}
{isAgentCanvas && booleanField(showAgentMessages, 'showAgentMessages', 'Show Agent Reasoning')}
{/*BOT Message*/}
<Typography variant='h4' sx={{ mb: 1, mt: 2 }}>