mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
test_azure_embedding_max_retries_0
This commit is contained in:
parent
b316911120
commit
80a5cfa01d
2 changed files with 0 additions and 22 deletions
|
@ -652,7 +652,6 @@ class AzureChatCompletion(BaseAzureLLM, BaseLLM):
|
|||
model: str,
|
||||
data: dict,
|
||||
model_response: EmbeddingResponse,
|
||||
azure_client_params: dict,
|
||||
input: list,
|
||||
logging_obj: LiteLLMLoggingObj,
|
||||
api_base: str,
|
||||
|
@ -743,14 +742,6 @@ class AzureChatCompletion(BaseAzureLLM, BaseLLM):
|
|||
data = {"model": model, "input": input, **optional_params}
|
||||
if max_retries is None:
|
||||
max_retries = litellm.DEFAULT_MAX_RETRIES
|
||||
azure_client_params = self.initialize_azure_sdk_client(
|
||||
litellm_params=litellm_params or {},
|
||||
api_key=api_key,
|
||||
model_name=model,
|
||||
api_version=api_version,
|
||||
api_base=api_base,
|
||||
is_async=False,
|
||||
)
|
||||
## LOGGING
|
||||
logging_obj.pre_call(
|
||||
input=input,
|
||||
|
@ -769,7 +760,6 @@ class AzureChatCompletion(BaseAzureLLM, BaseLLM):
|
|||
logging_obj=logging_obj,
|
||||
api_key=api_key,
|
||||
model_response=model_response,
|
||||
azure_client_params=azure_client_params,
|
||||
timeout=timeout,
|
||||
client=client,
|
||||
litellm_params=litellm_params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue