Skip to content

Commit

Permalink
fix: actually send normalised config
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-lgbt committed Jan 30, 2025
1 parent 9331249 commit 9507447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/AgentLiveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class AgentLiveClient extends AbstractLiveClient {
delete opts.audio.input.sampleRate;
opts.audio.output["sample_rate"] = options.audio.output?.sampleRate;
delete opts.audio.output.sampleRate;
this.send(JSON.stringify({ type: "SettingsConfiguration", ...options }));
this.send(JSON.stringify({ type: "SettingsConfiguration", ...opts }));
}

/**
Expand Down

0 comments on commit 9507447

Please sign in to comment.