[Realtime] Add Qwen3-ASR realtime streaming support (#34613)

Signed-off-by: Thomas Pouget-Abadie <thomaspou@microsoft.com>
Co-authored-by: Thomas Pouget-Abadie <thomaspou@microsoft.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Nicolò Lucchesi <nlucches@redhat.com>
This commit is contained in:
pougetat
2026-02-20 19:59:42 -08:00
committed by GitHub
co-authored by Thomas Pouget-Abadie Claude Opus 4.6 Nicolò Lucchesi
parent 7a5adad480
commit 11be2c74dc
5 changed files with 256 additions and 1 deletions
+4
View File
@@ -1063,6 +1063,10 @@ class SupportsRealtime(Protocol):
supports_realtime: ClassVar[Literal[True]] = True
realtime_max_tokens: ClassVar[int] = 1
"""Maximum tokens to generate per streaming audio segment.
Override in subclasses based on the model's expected output length."""
@classmethod
async def buffer_realtime_audio(
cls,