mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-30 10:56:29 +02:00
Make greeting message have start agent name
This commit is contained in:
parent
96886d3f20
commit
aed8377a8e
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue