diff --git a/scenarios.yaml b/scenarios.yaml index 77cee47..0df4b31 100644 --- a/scenarios.yaml +++ b/scenarios.yaml @@ -17,9 +17,9 @@ scenarios: 1. After the assistant replies, ask: "What can you help me with?" 2. Once it answers, say thanks and end the conversation. agent_expectations: > - Greets the user in a friendly manner and offers to help. Replies are - brief, one to three sentences, in plain spoken prose with no lists, - markdown, or emojis. + The agent starts the conversation by enthusiastically greeting the user and offering + to help. Replies are brief, one to three sentences, in plain spoken prose + with no lists, markdown, or emojis. tags: feature: greeting diff --git a/src/main.ts b/src/main.ts index 6a95721..a5a2576 100644 --- a/src/main.ts +++ b/src/main.ts @@ -86,9 +86,9 @@ export default defineAgent({ // Join the room and connect to the user await ctx.connect(); - // Greet the user on joining + // Speak first: greet the user before they say anything session.generateReply({ - instructions: 'Greet the user in a helpful and friendly manner.', + instructions: 'Enthusiastically greet the user and offer to help.', }); }, });