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 issue from pr review

Henry Wangacc23b9757e4
diff --git a/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py b/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py
index 7f81d2aafa5..521faae3ca5 100644
--- a/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py
+++ b/tests/test_litellm/proxy/openai_files_endpoint/test_files_endpoint.py
@@ -89,7 +89,8 @@ def test_invalid_purpose(mocker: MockerFixture, monkeypatch, llm_router: Router)
files={"file": test_file},
data={
"purpose": "my-bad-purpose",
- "target_model_names": ["azure-gpt-3-5-turbo", "gpt-3.5-turbo"],
+ # "target_model_names": ["azure-gpt-3-5-turbo", "gpt-3.5-turbo"],
+ "target_model_names": "gpt-3-5-turbo",
},
headers={"Authorization": "Bearer test-key"},
)