diff --git a/litellm/llms/deepgram/common_utils.py b/litellm/llms/deepgram/common_utils.py index a4a413370f7..f7bcdafdfc4 100644 --- a/litellm/llms/deepgram/common_utils.py +++ b/litellm/llms/deepgram/common_utils.py @@ -140,7 +140,7 @@ def _channel_count(value: object) -> int | None: def _results_channel_count(frame: Mapping[str, object]) -> int | None: match frame.get("channel_index"): - case [object(), int() as channels]: + case list([object(), object() as channels]): return _channel_count(channels) case _: return None