From e7a6bc7bbcfdb89b147bd45e921c14bcf14a0b61 Mon Sep 17 00:00:00 2001 From: "rosetta-livekit-bot[bot]" <282703043+rosetta-livekit-bot[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 06:47:25 +0000 Subject: [PATCH] fix(phonic): add client header to conversations --- .changeset/phonic-client-header.md | 5 +++++ plugins/phonic/src/realtime/realtime_model.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/phonic-client-header.md diff --git a/.changeset/phonic-client-header.md b/.changeset/phonic-client-header.md new file mode 100644 index 000000000..e2202281c --- /dev/null +++ b/.changeset/phonic-client-header.md @@ -0,0 +1,5 @@ +--- +'@livekit/agents-plugin-phonic': patch +--- + +Add LiveKit Agents JS client header to Phonic conversation sockets. diff --git a/plugins/phonic/src/realtime/realtime_model.ts b/plugins/phonic/src/realtime/realtime_model.ts index 0ebf6a825..ada896966 100644 --- a/plugins/phonic/src/realtime/realtime_model.ts +++ b/plugins/phonic/src/realtime/realtime_model.ts @@ -573,6 +573,7 @@ export class RealtimeSession extends llm.RealtimeSession { private async connect(): Promise { this.socket = await this.client.conversations.connect({ + headers: { 'x-phonic-client': 'livekit-agents-js' }, reconnectAttempts: this.options.connOptions.maxRetry, });