Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/phonic-client-header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@livekit/agents-plugin-phonic': patch
---

Add LiveKit Agents JS client header to Phonic conversation sockets.
1 change: 1 addition & 0 deletions plugins/phonic/src/realtime/realtime_model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ export class RealtimeSession extends llm.RealtimeSession {

private async connect(): Promise<void> {
this.socket = await this.client.conversations.connect({
headers: { 'x-phonic-client': 'livekit-agents-js' },
reconnectAttempts: this.options.connOptions.maxRetry,
});

Expand Down