fix linting

This commit is contained in:
Ishaan Jaff 2025-02-14 21:42:51 -08:00
parent 616233089e
commit e59376d6fc
2 changed files with 6 additions and 17 deletions

View file

@ -183,7 +183,9 @@ def create_fine_tuning_job(
timeout=timeout,
max_retries=optional_params.max_retries,
_is_async=_is_async,
client=optional_params.client,
client=kwargs.get(
"client", None
), # note, when we add this to `GenericLiteLLMParams` it impacts a lot of other tests + linting
)
# Azure OpenAI
elif custom_llm_provider == "azure":
@ -389,7 +391,7 @@ def cancel_fine_tuning_job(
timeout=timeout,
max_retries=optional_params.max_retries,
_is_async=_is_async,
client=optional_params.client,
client=kwargs.get("client", None),
)
# Azure OpenAI
elif custom_llm_provider == "azure":
@ -552,7 +554,7 @@ def list_fine_tuning_jobs(
timeout=timeout,
max_retries=optional_params.max_retries,
_is_async=_is_async,
client=optional_params.client,
client=kwargs.get("client", None),
)
# Azure OpenAI
elif custom_llm_provider == "azure":
@ -704,7 +706,7 @@ def retrieve_fine_tuning_job(
timeout=timeout,
max_retries=optional_params.max_retries,
_is_async=_is_async,
client=optional_params.client,
client=kwargs.get("client", None),
)
# Azure OpenAI
elif custom_llm_provider == "azure":