mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Merge branch 'main' into litellm_azure_batch_apis
This commit is contained in:
commit
11cbf60e4f
38 changed files with 1078 additions and 159 deletions
|
@ -943,7 +943,9 @@ def completion(
|
|||
output_cost_per_token=output_cost_per_token,
|
||||
cooldown_time=cooldown_time,
|
||||
text_completion=kwargs.get("text_completion"),
|
||||
azure_ad_token_provider=kwargs.get("azure_ad_token_provider"),
|
||||
user_continue_message=kwargs.get("user_continue_message"),
|
||||
|
||||
)
|
||||
logging.update_environment_variables(
|
||||
model=model,
|
||||
|
@ -3247,6 +3249,10 @@ def embedding(
|
|||
"model_config",
|
||||
"cooldown_time",
|
||||
"tags",
|
||||
"azure_ad_token_provider",
|
||||
"tenant_id",
|
||||
"client_id",
|
||||
"client_secret",
|
||||
"extra_headers",
|
||||
]
|
||||
default_params = openai_params + litellm_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue