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, });