Repository navigation
Conversation
The agent now speaks first with session.generate_reply, so the LLM writes the greeting in its own character and expressive mode applies. Update the greeting scenario to require the introduction. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
bcherry
added a commit
to livekit-examples/agent-starter-node
that referenced
this pull request
Nov 4, 2026
Match livekit-examples/agent-starter-python#116: greet the user enthusiastically and offer to help, and align the greeting scenario with it. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The agent now speaks first. Right after
ctx.connect(), it callssession.generate_reply()with the instruction "Enthusiastically greet the user and offer to help." Usinggenerate_replyrather thansaylets the LLM write the line in the agent's own character, so expressive mode applies to it too. This matches livekit-examples/agent-starter-node#76.The "Greets and offers help" scenario now requires the agent to open the conversation by enthusiastically greeting the user and offering to help. The brevity and no-formatting requirements are unchanged.
Testing
uv run ruff format/uv run ruff check: clean.tests/test_agent.pyis fully commented out, so pytest collects no tests.lk agent simulate text --scenarios scenarios.yaml: 3/3 passed. The agent opened with "Hello there! I am so excited to help you today. What can I do for you?"🤖 Generated with Claude Code