Skip to content

Commit 3101b74

Browse files
committed
fix
1 parent af35e5a commit 3101b74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/agents/realtime/audio_formats.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@
1111

1212
from ..logger import logger
1313

14-
type LegacyRealtimeAudioFormats = Literal["pcm16", "g711_ulaw", "g711_alaw"]
15-
1614

1715
def to_realtime_audio_format(
18-
input_audio_format: LegacyRealtimeAudioFormats | RealtimeAudioFormats | None,
16+
input_audio_format: str | RealtimeAudioFormats | None,
1917
) -> RealtimeAudioFormats | None:
2018
format: RealtimeAudioFormats | None = None
2119
if input_audio_format is not None:

0 commit comments

Comments
 (0)