Skip to content

voice: add RemoteSession.get_framework_info() client wrapper#6464

Merged
u9g merged 2 commits into
mainfrom
simulation-dispatch-fail-loud
Jul 17, 2026
Merged

voice: add RemoteSession.get_framework_info() client wrapper#6464
u9g merged 2 commits into
mainfrom
simulation-dispatch-fail-loud

Conversation

@u9g

@u9g u9g commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Change

Adds a client-side RemoteSession.get_framework_info() wrapper for the existing server-side get_framework_info handler (which already returns the agent's SDK name and version).

The simulation harness uses this to check the agent's SDK version before driving a run; today it hand-builds the protobuf request because the pinned SDK release has no public wrapper (see livekit/agents-private#202).

An earlier revision of this PR also published an lk.simulator.ack participant attribute so the harness could verify scenario-dispatch delivery end to end; that was dropped in favor of a simulator-side version check.

@u9g
u9g requested a review from a team as a code owner July 17, 2026 13:25

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

The agent now publishes lk.simulator.ack (valued with the simulation job
id) on its own participant when JobContext.connect() resolves a
SimulationContext, so the simulation harness can verify the scenario
actually reached the agent before driving any turns. Also adds a public
SimulationContext.job_id accessor and a RemoteSession.get_framework_info
client wrapper.
@u9g
u9g force-pushed the simulation-dispatch-fail-loud branch from a468e14 to ca8d1cb Compare July 17, 2026 13:52
…rapper

The harness will version-gate agents via get_framework_info instead of
preflighting on an ack attribute.
@u9g u9g changed the title simulation: acknowledge scenario dispatch delivery on the agent participant voice: add RemoteSession.get_framework_info() client wrapper Jul 17, 2026
@u9g
u9g merged commit c9fe76a into main Jul 17, 2026
24 checks passed
@u9g
u9g deleted the simulation-dispatch-fail-loud branch July 17, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants