Repository navigation
agent_simulation: report how a simulated call ended and what the caller sounded like - #1868
Merged
u9g merged 1 commit intoOct 19, 2026
Conversation
…er sounded like JobMetrics gains end_reason, caller_language, caller_listen_language, impairments and conversation.backchannel_count. The simulator knows all of them, but until now they only reached its logs.
u9g
force-pushed
the
jason/simulation-job-call-facts
branch
from
October 19, 2026 20:41
5ea6f8f to
485a8c3
Compare
🦋 Changeset detectedLatest commit: 485a8c3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🦋 Changeset detectedLatest commit: 485a8c3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Author
|
Combined into #1867, which carries this PR's commit. It shows as merged only because the commit landed on its base branch; nothing has reached main. |
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.
Adds to
SimulationRun.JobMetricsfacts the simulator already knows about each call, but which until now only reached its logs:end_reasonerror.caller_languagecaller_listen_language""means the same ascaller_language.impairments"cafe"), and whether low-quality microphone or packet loss was applied. Absent for a clean call.conversation.backchannel_countFor someone reviewing a job later, these explain the call: why it ended, what language each side was heard in, and which conditions the agent had to cope with. They also let a test of the deployed pipeline check these facts from
lk agent simulate exportinstead of from simulator logs.The simulator fills them in livekit/agents-private#566.
Stacked on #1867 (
SimulationRun.Job.failure_reason), so one protocol commit carries both for the services that need them together.