Merge pull request #4385 from pipecat-ai/mb/runner-session-id

feat(runner): add session_id to RunnerArguments
This commit is contained in:
Mark Backman
2026-04-29 13:17:47 -04:00
committed by GitHub
3 changed files with 47 additions and 14 deletions

1
changelog/4385.added.md Normal file
View File

@@ -0,0 +1 @@
- Added a `session_id` field to `RunnerArguments` so bots can log or trace a per-session identifier in local development the same way they can in Pipecat Cloud. The development runner now mints a UUID at every construction site, and paths that already returned a `sessionId` to the caller (Daily `/start`, dial-in webhook) share that same UUID with the runner args instead of generating two. The SmallWebRTC `/api/offer` endpoint also accepts an optional `session_id` query parameter so the `/sessions/{session_id}/...` proxy can thread it through.