Skip to content

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]

fix fine tuning tests

Ishaan Jaff009697425d15
diff --git a/litellm/tests/test_fine_tuning_api.py b/litellm/tests/test_fine_tuning_api.py
index 20a58c4d003..f02af1b9276 100644
--- a/litellm/tests/test_fine_tuning_api.py
+++ b/litellm/tests/test_fine_tuning_api.py
@@ -80,6 +80,8 @@ def test_create_fine_tune_job():
except openai.RateLimitError:
pass
except Exception as e:
+ if "Job has already completed" in str(e):
+ pass
pytest.fail(f"Error occurred: {e}")