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]

test - list_fine_tuning_jobs

Ishaan Jaff106626f2248b
diff --git a/litellm/tests/test_fine_tuning_api.py b/litellm/tests/test_fine_tuning_api.py
index d4935cb0d58..4a3922697fd 100644
--- a/litellm/tests/test_fine_tuning_api.py
+++ b/litellm/tests/test_fine_tuning_api.py
@@ -41,6 +41,12 @@ def test_create_fine_tune_job():
assert create_fine_tuning_response.id is not None
assert create_fine_tuning_response.model == "gpt-3.5-turbo-0125"
+ # list fine tuning jobs
+ print("listing ft jobs")
+ ft_jobs = litellm.list_fine_tuning_jobs(limit=2)
+ print("response from litellm.list_fine_tuning_jobs=", ft_jobs)
+ assert len(ft_jobs) > 0
+
# delete file
litellm.file_delete(