The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix fine tune api tests
Ishaan Jaff93b0d239979c
diff --git a/litellm/tests/test_fine_tuning_api.py b/litellm/tests/test_fine_tuning_api.pyindex f02af1b9276..412ffb497c1 100644--- a/litellm/tests/test_fine_tuning_api.py+++ b/litellm/tests/test_fine_tuning_api.py@@ -81,8 +81,9 @@ def test_create_fine_tune_job():passexcept Exception as e:if "Job has already completed" in str(e):- pass- pytest.fail(f"Error occurred: {e}")+ return+ else:+ pytest.fail(f"Error occurred: {e}")@pytest.mark.asyncio@@ -137,7 +138,7 @@ async def test_create_fine_tune_jobs_async():passexcept Exception as e:if "Job has already completed" in str(e):- pass+ returnelse:pytest.fail(f"Error occurred: {e}")pass