Skip to content

agent_simulation: choose the persona's model per run - #1968

Merged
u9g merged 2 commits into
mainfrom
jasonlernerman/sim-caller-model
Nov 12, 2026
Merged

u9g merged 2 commits into
mainfrom
jasonlernerman/sim-caller-model

Conversation

@u9g

@u9g u9g commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Lets a simulation run choose the persona's model: the model that plays its simulated caller.

  • SimulationRun.Create.Request.persona_model (19) names the model for every job of the run. Empty keeps the default, so existing clients are unaffected.
  • SimulationRun.persona_model (24) reports it back on Get and List.

The field is a string so a new model needs no protocol release. The server validates the name and rejects unknown ones.

@changeset-bot

changeset-bot Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c6952b5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@livekit/protocol Patch
github.com/livekit/protocol Patch

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

@u9g
u9g force-pushed the jasonlernerman/sim-caller-model branch from 466b747 to 52b6234 Compare November 11, 2026 17:08
@u9g u9g changed the title agent_simulation: choose the simulated caller's model per run (default or usim v1) agent_simulation: choose the model that plays the simulated caller per run Nov 11, 2026
string deployment = 18;

// The model that plays the simulated caller in every job of this run; empty is the default.
string caller_model = 19;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

simulator_model or model

@u9g
u9g force-pushed the jasonlernerman/sim-caller-model branch from 0c82380 to c46964c Compare November 12, 2026 18:47
@u9g u9g changed the title agent_simulation: choose the model that plays the simulated caller per run agent_simulation: choose the simulator's model per run Nov 12, 2026
string deployment = 18;

// The simulator's model, which plays the caller in every job of this run; empty is the default.
string simulator_model = 19;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

persona_model

@u9g u9g changed the title agent_simulation: choose the simulator's model per run agent_simulation: choose the persona's model per run Nov 12, 2026
@u9g
u9g force-pushed the jasonlernerman/sim-caller-model branch from b54b368 to 921407b Compare November 12, 2026 23:11
@u9g
u9g force-pushed the jasonlernerman/sim-caller-model branch from 58c4742 to c6952b5 Compare November 12, 2026 23:50
@u9g
u9g merged commit 80b7d4a into main Nov 12, 2026
9 checks passed
@u9g
u9g deleted the jasonlernerman/sim-caller-model branch November 12, 2026 23:56
@github-actions github-actions Bot mentioned this pull request Nov 12, 2026
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