Skip to content

Commit 7bdd427

Browse files
committed
fmt
1 parent 5ea2566 commit 7bdd427

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/ElevenLabs/Conversation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@ public final class Conversation: ObservableObject, RoomDelegate {
445445
audioManager.onMutedSpeechActivity = { [weak self] _, event in
446446
Task { @MainActor [weak self] in
447447
guard let self else { return }
448-
if let handler = self.options.audioConfiguration?.onSpeechActivity {
448+
if let handler = options.audioConfiguration?.onSpeechActivity {
449449
handler(event)
450450
}
451-
if let handler = self.options.onSpeechActivity {
451+
if let handler = options.onSpeechActivity {
452452
handler(event)
453453
}
454454
}

Sources/ElevenLabs/ElevenLabs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public extension ElevenLabs {
256256
}
257257

258258
/// Agent state indicating what the agent is currently doing.
259-
public enum AgentState: Sendable, Equatable {
259+
enum AgentState: Sendable, Equatable {
260260
/// Agent is listening to the user
261261
case listening
262262
/// Agent is speaking

0 commit comments

Comments
 (0)