[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:
co-authored by
Thomas Pouget-Abadie
Claude Opus 4.6
Nicolò Lucchesi
parent
7a5adad480
commit
11be2c74dc
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user