Support audio model in Azure provider

This commit is contained in:
hlohaus 2025-07-12 19:41:23 +02:00
parent ebff7d51ab
commit c4b18df769
7 changed files with 39 additions and 19 deletions

View file

@ -149,7 +149,6 @@ class Api:
"model": model,
"provider": provider,
"messages": messages,
"stream": True,
"ignore_stream": True,
**kwargs
}
@ -166,8 +165,6 @@ class Api:
try:
model, provider_handler = get_model_and_provider(
kwargs.get("model"), provider,
stream=True,
ignore_stream=True,
has_images="media" in kwargs,
)
if "user" in kwargs: