From acc23b9757e4d9f5c6c20953a3ccd3bf779a84cf Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Wed, 1 Oct 2025 11:57:10 +0800 Subject: [PATCH] fix issue from pr review --- .../proxy/openai_files_endpoint/test_files_endpoint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"}, )