mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Support audio model in Azure provider
This commit is contained in:
parent
ebff7d51ab
commit
c4b18df769
7 changed files with 39 additions and 19 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue