Make greeting message have start agent name

This commit is contained in:
akhisud3195 2025-09-12 21:46:06 +04:00
parent 96886d3f20
commit aed8377a8e

View file

@ -400,8 +400,8 @@ export function Chat({
messages={[
{
role: 'assistant',
content: 'Hi, how can I help you today?',
agentName: 'Assistant',
content: workflow.prompts.find(p => p.type === 'greeting')?.prompt || 'Hi, how can I help you today?',
agentName: workflow.startAgent,
responseType: 'external',
},
...optimisticMessages,