Commit dd19d4f9

Stainless Bot <dev+git@stainlessapi.com>
2024-11-18 18:35:41
chore(tests): limit array example length (#1870)
1 parent 52357cf
tests/api_resources/audio/test_transcriptions.py
@@ -34,7 +34,7 @@ class TestTranscriptions:
             prompt="string",
             response_format="json",
             temperature=0,
-            timestamp_granularities=["word", "segment"],
+            timestamp_granularities=["word"],
         )
         assert_matches_type(TranscriptionCreateResponse, transcription, path=["response"])
 
@@ -85,7 +85,7 @@ class TestAsyncTranscriptions:
             prompt="string",
             response_format="json",
             temperature=0,
-            timestamp_granularities=["word", "segment"],
+            timestamp_granularities=["word"],
         )
         assert_matches_type(TranscriptionCreateResponse, transcription, path=["response"])
 
tests/api_resources/beta/threads/test_messages.py
@@ -38,17 +38,9 @@ class TestMessages:
             role="user",
             attachments=[
                 {
-                    "file_id": "string",
-                    "tools": [{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
-                },
-                {
-                    "file_id": "string",
-                    "tools": [{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
-                },
-                {
-                    "file_id": "string",
-                    "tools": [{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
-                },
+                    "file_id": "file_id",
+                    "tools": [{"type": "code_interpreter"}],
+                }
             ],
             metadata={},
         )
@@ -315,17 +307,9 @@ class TestAsyncMessages:
             role="user",
             attachments=[
                 {
-                    "file_id": "string",
-                    "tools": [{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
-                },
-                {
-                    "file_id": "string",
-                    "tools": [{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
-                },
-                {
-                    "file_id": "string",
-                    "tools": [{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
-                },
+                    "file_id": "file_id",
+                    "tools": [{"type": "code_interpreter"}],
+                }
             ],
             metadata={},
         )
tests/api_resources/beta/threads/test_runs.py
@@ -43,94 +43,12 @@ class TestRuns:
                     "role": "user",
                     "attachments": [
                         {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
+                            "file_id": "file_id",
+                            "tools": [{"type": "code_interpreter"}],
+                        }
                     ],
                     "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
+                }
             ],
             instructions="string",
             max_completion_tokens=256,
@@ -142,7 +60,7 @@ class TestRuns:
             stream=False,
             temperature=1,
             tool_choice="none",
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -208,94 +126,12 @@ class TestRuns:
                     "role": "user",
                     "attachments": [
                         {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
+                            "file_id": "file_id",
+                            "tools": [{"type": "code_interpreter"}],
+                        }
                     ],
                     "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
+                }
             ],
             instructions="string",
             max_completion_tokens=256,
@@ -306,7 +142,7 @@ class TestRuns:
             response_format="auto",
             temperature=1,
             tool_choice="none",
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -556,9 +392,9 @@ class TestRuns:
     @parametrize
     def test_method_submit_tool_outputs_overload_1(self, client: OpenAI) -> None:
         run = client.beta.threads.runs.submit_tool_outputs(
-            "string",
-            thread_id="string",
-            tool_outputs=[{}, {}, {}],
+            run_id="run_id",
+            thread_id="thread_id",
+            tool_outputs=[{}],
         )
         assert_matches_type(Run, run, path=["response"])
 
@@ -571,15 +407,7 @@ class TestRuns:
                 {
                     "output": "output",
                     "tool_call_id": "tool_call_id",
-                },
-                {
-                    "output": "output",
-                    "tool_call_id": "tool_call_id",
-                },
-                {
-                    "output": "output",
-                    "tool_call_id": "tool_call_id",
-                },
+                }
             ],
             stream=False,
         )
@@ -588,9 +416,9 @@ class TestRuns:
     @parametrize
     def test_raw_response_submit_tool_outputs_overload_1(self, client: OpenAI) -> None:
         response = client.beta.threads.runs.with_raw_response.submit_tool_outputs(
-            "string",
-            thread_id="string",
-            tool_outputs=[{}, {}, {}],
+            run_id="run_id",
+            thread_id="thread_id",
+            tool_outputs=[{}],
         )
 
         assert response.is_closed is True
@@ -601,9 +429,9 @@ class TestRuns:
     @parametrize
     def test_streaming_response_submit_tool_outputs_overload_1(self, client: OpenAI) -> None:
         with client.beta.threads.runs.with_streaming_response.submit_tool_outputs(
-            "string",
-            thread_id="string",
-            tool_outputs=[{}, {}, {}],
+            run_id="run_id",
+            thread_id="thread_id",
+            tool_outputs=[{}],
         ) as response:
             assert not response.is_closed
             assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -619,14 +447,14 @@ class TestRuns:
             client.beta.threads.runs.with_raw_response.submit_tool_outputs(
                 "string",
                 thread_id="",
-                tool_outputs=[{}, {}, {}],
+                tool_outputs=[{}],
             )
 
         with pytest.raises(ValueError, match=r"Expected a non-empty value for `run_id` but received ''"):
             client.beta.threads.runs.with_raw_response.submit_tool_outputs(
-                "",
-                thread_id="string",
-                tool_outputs=[{}, {}, {}],
+                run_id="",
+                thread_id="thread_id",
+                tool_outputs=[{}],
             )
 
     @parametrize
@@ -635,7 +463,7 @@ class TestRuns:
             "string",
             thread_id="string",
             stream=True,
-            tool_outputs=[{}, {}, {}],
+            tool_outputs=[{}],
         )
         run_stream.response.close()
 
@@ -645,7 +473,7 @@ class TestRuns:
             "string",
             thread_id="string",
             stream=True,
-            tool_outputs=[{}, {}, {}],
+            tool_outputs=[{}],
         )
 
         assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -658,7 +486,7 @@ class TestRuns:
             "string",
             thread_id="string",
             stream=True,
-            tool_outputs=[{}, {}, {}],
+            tool_outputs=[{}],
         ) as response:
             assert not response.is_closed
             assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -675,7 +503,7 @@ class TestRuns:
                 "string",
                 thread_id="",
                 stream=True,
-                tool_outputs=[{}, {}, {}],
+                tool_outputs=[{}],
             )
 
         with pytest.raises(ValueError, match=r"Expected a non-empty value for `run_id` but received ''"):
@@ -683,7 +511,7 @@ class TestRuns:
                 "",
                 thread_id="string",
                 stream=True,
-                tool_outputs=[{}, {}, {}],
+                tool_outputs=[{}],
             )
 
 
@@ -711,94 +539,12 @@ class TestAsyncRuns:
                     "role": "user",
                     "attachments": [
                         {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
+                            "file_id": "file_id",
+                            "tools": [{"type": "code_interpreter"}],
+                        }
                     ],
                     "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
+                }
             ],
             instructions="string",
             max_completion_tokens=256,
@@ -810,7 +556,7 @@ class TestAsyncRuns:
             stream=False,
             temperature=1,
             tool_choice="none",
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -876,94 +622,12 @@ class TestAsyncRuns:
                     "role": "user",
                     "attachments": [
                         {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
+                            "file_id": "file_id",
+                            "tools": [{"type": "code_interpreter"}],
+                        }
                     ],
                     "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
+                }
             ],
             instructions="string",
             max_completion_tokens=256,
@@ -974,7 +638,7 @@ class TestAsyncRuns:
             response_format="auto",
             temperature=1,
             tool_choice="none",
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -1224,9 +888,9 @@ class TestAsyncRuns:
     @parametrize
     async def test_method_submit_tool_outputs_overload_1(self, async_client: AsyncOpenAI) -> None:
         run = await async_client.beta.threads.runs.submit_tool_outputs(
-            "string",
-            thread_id="string",
-            tool_outputs=[{}, {}, {}],
+            run_id="run_id",
+            thread_id="thread_id",
+            tool_outputs=[{}],
         )
         assert_matches_type(Run, run, path=["response"])
 
@@ -1239,15 +903,7 @@ class TestAsyncRuns:
                 {
                     "output": "output",
                     "tool_call_id": "tool_call_id",
-                },
-                {
-                    "output": "output",
-                    "tool_call_id": "tool_call_id",
-                },
-                {
-                    "output": "output",
-                    "tool_call_id": "tool_call_id",
-                },
+                }
             ],
             stream=False,
         )
@@ -1256,9 +912,9 @@ class TestAsyncRuns:
     @parametrize
     async def test_raw_response_submit_tool_outputs_overload_1(self, async_client: AsyncOpenAI) -> None:
         response = await async_client.beta.threads.runs.with_raw_response.submit_tool_outputs(
-            "string",
-            thread_id="string",
-            tool_outputs=[{}, {}, {}],
+            run_id="run_id",
+            thread_id="thread_id",
+            tool_outputs=[{}],
         )
 
         assert response.is_closed is True
@@ -1269,9 +925,9 @@ class TestAsyncRuns:
     @parametrize
     async def test_streaming_response_submit_tool_outputs_overload_1(self, async_client: AsyncOpenAI) -> None:
         async with async_client.beta.threads.runs.with_streaming_response.submit_tool_outputs(
-            "string",
-            thread_id="string",
-            tool_outputs=[{}, {}, {}],
+            run_id="run_id",
+            thread_id="thread_id",
+            tool_outputs=[{}],
         ) as response:
             assert not response.is_closed
             assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -1287,14 +943,14 @@ class TestAsyncRuns:
             await async_client.beta.threads.runs.with_raw_response.submit_tool_outputs(
                 "string",
                 thread_id="",
-                tool_outputs=[{}, {}, {}],
+                tool_outputs=[{}],
             )
 
         with pytest.raises(ValueError, match=r"Expected a non-empty value for `run_id` but received ''"):
             await async_client.beta.threads.runs.with_raw_response.submit_tool_outputs(
-                "",
-                thread_id="string",
-                tool_outputs=[{}, {}, {}],
+                run_id="",
+                thread_id="thread_id",
+                tool_outputs=[{}],
             )
 
     @parametrize
@@ -1303,7 +959,7 @@ class TestAsyncRuns:
             "string",
             thread_id="string",
             stream=True,
-            tool_outputs=[{}, {}, {}],
+            tool_outputs=[{}],
         )
         await run_stream.response.aclose()
 
@@ -1313,7 +969,7 @@ class TestAsyncRuns:
             "string",
             thread_id="string",
             stream=True,
-            tool_outputs=[{}, {}, {}],
+            tool_outputs=[{}],
         )
 
         assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -1326,7 +982,7 @@ class TestAsyncRuns:
             "string",
             thread_id="string",
             stream=True,
-            tool_outputs=[{}, {}, {}],
+            tool_outputs=[{}],
         ) as response:
             assert not response.is_closed
             assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -1343,7 +999,7 @@ class TestAsyncRuns:
                 "string",
                 thread_id="",
                 stream=True,
-                tool_outputs=[{}, {}, {}],
+                tool_outputs=[{}],
             )
 
         with pytest.raises(ValueError, match=r"Expected a non-empty value for `run_id` but received ''"):
@@ -1351,5 +1007,5 @@ class TestAsyncRuns:
                 "",
                 thread_id="string",
                 stream=True,
-                tool_outputs=[{}, {}, {}],
+                tool_outputs=[{}],
             )
tests/api_resources/beta/test_assistants.py
@@ -39,19 +39,19 @@ class TestAssistants:
             response_format="auto",
             temperature=1,
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {
                     "vector_store_ids": ["string"],
                     "vector_stores": [
                         {
                             "chunking_strategy": {"type": "auto"},
-                            "file_ids": ["string", "string", "string"],
+                            "file_ids": ["string"],
                             "metadata": {},
                         }
                     ],
                 },
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
         )
         assert_matches_type(Assistant, assistant, path=["response"])
@@ -137,10 +137,10 @@ class TestAssistants:
             response_format="auto",
             temperature=1,
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
         )
         assert_matches_type(Assistant, assistant, path=["response"])
@@ -271,19 +271,19 @@ class TestAsyncAssistants:
             response_format="auto",
             temperature=1,
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {
                     "vector_store_ids": ["string"],
                     "vector_stores": [
                         {
                             "chunking_strategy": {"type": "auto"},
-                            "file_ids": ["string", "string", "string"],
+                            "file_ids": ["string"],
                             "metadata": {},
                         }
                     ],
                 },
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
         )
         assert_matches_type(Assistant, assistant, path=["response"])
@@ -369,10 +369,10 @@ class TestAsyncAssistants:
             response_format="auto",
             temperature=1,
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
         )
         assert_matches_type(Assistant, assistant, path=["response"])
tests/api_resources/beta/test_threads.py
@@ -35,104 +35,22 @@ class TestThreads:
                     "role": "user",
                     "attachments": [
                         {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
+                            "file_id": "file_id",
+                            "tools": [{"type": "code_interpreter"}],
+                        }
                     ],
                     "metadata": {},
-                },
+                }
             ],
             metadata={},
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {
                     "vector_store_ids": ["string"],
                     "vector_stores": [
                         {
                             "chunking_strategy": {"type": "auto"},
-                            "file_ids": ["string", "string", "string"],
+                            "file_ids": ["string"],
                             "metadata": {},
                         }
                     ],
@@ -212,7 +130,7 @@ class TestThreads:
             "string",
             metadata={},
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
         )
@@ -314,104 +232,22 @@ class TestThreads:
                         "role": "user",
                         "attachments": [
                             {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
+                                "file_id": "file_id",
+                                "tools": [{"type": "code_interpreter"}],
+                            }
                         ],
                         "metadata": {},
-                    },
+                    }
                 ],
                 "metadata": {},
                 "tool_resources": {
-                    "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                    "code_interpreter": {"file_ids": ["string"]},
                     "file_search": {
                         "vector_store_ids": ["string"],
                         "vector_stores": [
                             {
                                 "chunking_strategy": {"type": "auto"},
-                                "file_ids": ["string", "string", "string"],
+                                "file_ids": ["string"],
                                 "metadata": {},
                             }
                         ],
@@ -420,10 +256,10 @@ class TestThreads:
             },
             tool_choice="none",
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -484,104 +320,22 @@ class TestThreads:
                         "role": "user",
                         "attachments": [
                             {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
+                                "file_id": "file_id",
+                                "tools": [{"type": "code_interpreter"}],
+                            }
                         ],
                         "metadata": {},
-                    },
+                    }
                 ],
                 "metadata": {},
                 "tool_resources": {
-                    "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                    "code_interpreter": {"file_ids": ["string"]},
                     "file_search": {
                         "vector_store_ids": ["string"],
                         "vector_stores": [
                             {
                                 "chunking_strategy": {"type": "auto"},
-                                "file_ids": ["string", "string", "string"],
+                                "file_ids": ["string"],
                                 "metadata": {},
                             }
                         ],
@@ -590,10 +344,10 @@ class TestThreads:
             },
             tool_choice="none",
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -645,104 +399,22 @@ class TestAsyncThreads:
                     "role": "user",
                     "attachments": [
                         {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                    ],
-                    "metadata": {},
-                },
-                {
-                    "content": "string",
-                    "role": "user",
-                    "attachments": [
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
-                        {
-                            "file_id": "string",
-                            "tools": [
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                                {"type": "code_interpreter"},
-                            ],
-                        },
+                            "file_id": "file_id",
+                            "tools": [{"type": "code_interpreter"}],
+                        }
                     ],
                     "metadata": {},
-                },
+                }
             ],
             metadata={},
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {
                     "vector_store_ids": ["string"],
                     "vector_stores": [
                         {
                             "chunking_strategy": {"type": "auto"},
-                            "file_ids": ["string", "string", "string"],
+                            "file_ids": ["string"],
                             "metadata": {},
                         }
                     ],
@@ -822,7 +494,7 @@ class TestAsyncThreads:
             "string",
             metadata={},
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
         )
@@ -924,104 +596,22 @@ class TestAsyncThreads:
                         "role": "user",
                         "attachments": [
                             {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
+                                "file_id": "file_id",
+                                "tools": [{"type": "code_interpreter"}],
+                            }
                         ],
                         "metadata": {},
-                    },
+                    }
                 ],
                 "metadata": {},
                 "tool_resources": {
-                    "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                    "code_interpreter": {"file_ids": ["string"]},
                     "file_search": {
                         "vector_store_ids": ["string"],
                         "vector_stores": [
                             {
                                 "chunking_strategy": {"type": "auto"},
-                                "file_ids": ["string", "string", "string"],
+                                "file_ids": ["string"],
                                 "metadata": {},
                             }
                         ],
@@ -1030,10 +620,10 @@ class TestAsyncThreads:
             },
             tool_choice="none",
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
@@ -1094,104 +684,22 @@ class TestAsyncThreads:
                         "role": "user",
                         "attachments": [
                             {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                        ],
-                        "metadata": {},
-                    },
-                    {
-                        "content": "string",
-                        "role": "user",
-                        "attachments": [
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
-                            {
-                                "file_id": "string",
-                                "tools": [
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                    {"type": "code_interpreter"},
-                                ],
-                            },
+                                "file_id": "file_id",
+                                "tools": [{"type": "code_interpreter"}],
+                            }
                         ],
                         "metadata": {},
-                    },
+                    }
                 ],
                 "metadata": {},
                 "tool_resources": {
-                    "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                    "code_interpreter": {"file_ids": ["string"]},
                     "file_search": {
                         "vector_store_ids": ["string"],
                         "vector_stores": [
                             {
                                 "chunking_strategy": {"type": "auto"},
-                                "file_ids": ["string", "string", "string"],
+                                "file_ids": ["string"],
                                 "metadata": {},
                             }
                         ],
@@ -1200,10 +708,10 @@ class TestAsyncThreads:
             },
             tool_choice="none",
             tool_resources={
-                "code_interpreter": {"file_ids": ["string", "string", "string"]},
+                "code_interpreter": {"file_ids": ["string"]},
                 "file_search": {"vector_store_ids": ["string"]},
             },
-            tools=[{"type": "code_interpreter"}, {"type": "code_interpreter"}, {"type": "code_interpreter"}],
+            tools=[{"type": "code_interpreter"}],
             top_p=1,
             truncation_strategy={
                 "type": "auto",
tests/api_resources/beta/test_vector_stores.py
@@ -34,7 +34,7 @@ class TestVectorStores:
                 "anchor": "last_active_at",
                 "days": 1,
             },
-            file_ids=["string", "string", "string"],
+            file_ids=["string"],
             metadata={},
             name="string",
         )
@@ -239,7 +239,7 @@ class TestAsyncVectorStores:
                 "anchor": "last_active_at",
                 "days": 1,
             },
-            file_ids=["string", "string", "string"],
+            file_ids=["string"],
             metadata={},
             name="string",
         )
tests/api_resources/chat/test_completions.py
@@ -62,7 +62,7 @@ class TestCompletions:
             max_completion_tokens=0,
             max_tokens=0,
             metadata={"foo": "string"},
-            modalities=["text", "audio"],
+            modalities=["text"],
             n=1,
             parallel_tool_calls=True,
             prediction={
@@ -88,25 +88,7 @@ class TestCompletions:
                         "strict": True,
                     },
                     "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
+                }
             ],
             top_logprobs=0,
             top_p=1,
@@ -194,7 +176,7 @@ class TestCompletions:
             max_completion_tokens=0,
             max_tokens=0,
             metadata={"foo": "string"},
-            modalities=["text", "audio"],
+            modalities=["text"],
             n=1,
             parallel_tool_calls=True,
             prediction={
@@ -219,25 +201,7 @@ class TestCompletions:
                         "strict": True,
                     },
                     "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
+                }
             ],
             top_logprobs=0,
             top_p=1,
@@ -345,7 +309,7 @@ class TestAsyncCompletions:
             max_completion_tokens=0,
             max_tokens=0,
             metadata={"foo": "string"},
-            modalities=["text", "audio"],
+            modalities=["text"],
             n=1,
             parallel_tool_calls=True,
             prediction={
@@ -371,25 +335,7 @@ class TestAsyncCompletions:
                         "strict": True,
                     },
                     "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
+                }
             ],
             top_logprobs=0,
             top_p=1,
@@ -477,7 +423,7 @@ class TestAsyncCompletions:
             max_completion_tokens=0,
             max_tokens=0,
             metadata={"foo": "string"},
-            modalities=["text", "audio"],
+            modalities=["text"],
             n=1,
             parallel_tool_calls=True,
             prediction={
@@ -502,25 +448,7 @@ class TestAsyncCompletions:
                         "strict": True,
                     },
                     "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
-                {
-                    "function": {
-                        "name": "name",
-                        "description": "description",
-                        "parameters": {"foo": "bar"},
-                        "strict": True,
-                    },
-                    "type": "function",
-                },
+                }
             ],
             top_logprobs=0,
             top_p=1,
tests/api_resources/fine_tuning/test_jobs.py
@@ -46,27 +46,9 @@ class TestJobs:
                         "project": "my-wandb-project",
                         "entity": "entity",
                         "name": "name",
-                        "tags": ["custom-tag", "custom-tag", "custom-tag"],
+                        "tags": ["custom-tag"],
                     },
-                },
-                {
-                    "type": "wandb",
-                    "wandb": {
-                        "project": "my-wandb-project",
-                        "entity": "entity",
-                        "name": "name",
-                        "tags": ["custom-tag", "custom-tag", "custom-tag"],
-                    },
-                },
-                {
-                    "type": "wandb",
-                    "wandb": {
-                        "project": "my-wandb-project",
-                        "entity": "entity",
-                        "name": "name",
-                        "tags": ["custom-tag", "custom-tag", "custom-tag"],
-                    },
-                },
+                }
             ],
             seed=42,
             suffix="x",
@@ -285,27 +267,9 @@ class TestAsyncJobs:
                         "project": "my-wandb-project",
                         "entity": "entity",
                         "name": "name",
-                        "tags": ["custom-tag", "custom-tag", "custom-tag"],
-                    },
-                },
-                {
-                    "type": "wandb",
-                    "wandb": {
-                        "project": "my-wandb-project",
-                        "entity": "entity",
-                        "name": "name",
-                        "tags": ["custom-tag", "custom-tag", "custom-tag"],
-                    },
-                },
-                {
-                    "type": "wandb",
-                    "wandb": {
-                        "project": "my-wandb-project",
-                        "entity": "entity",
-                        "name": "name",
-                        "tags": ["custom-tag", "custom-tag", "custom-tag"],
+                        "tags": ["custom-tag"],
                     },
-                },
+                }
             ],
             seed=42,
             suffix="x",
tests/api_resources/test_uploads.py
@@ -99,7 +99,7 @@ class TestUploads:
     def test_method_complete(self, client: OpenAI) -> None:
         upload = client.uploads.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
         )
         assert_matches_type(Upload, upload, path=["response"])
 
@@ -107,7 +107,7 @@ class TestUploads:
     def test_method_complete_with_all_params(self, client: OpenAI) -> None:
         upload = client.uploads.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
             md5="md5",
         )
         assert_matches_type(Upload, upload, path=["response"])
@@ -116,7 +116,7 @@ class TestUploads:
     def test_raw_response_complete(self, client: OpenAI) -> None:
         response = client.uploads.with_raw_response.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
         )
 
         assert response.is_closed is True
@@ -128,7 +128,7 @@ class TestUploads:
     def test_streaming_response_complete(self, client: OpenAI) -> None:
         with client.uploads.with_streaming_response.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
         ) as response:
             assert not response.is_closed
             assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -143,7 +143,7 @@ class TestUploads:
         with pytest.raises(ValueError, match=r"Expected a non-empty value for `upload_id` but received ''"):
             client.uploads.with_raw_response.complete(
                 upload_id="",
-                part_ids=["string", "string", "string"],
+                part_ids=["string"],
             )
 
 
@@ -232,7 +232,7 @@ class TestAsyncUploads:
     async def test_method_complete(self, async_client: AsyncOpenAI) -> None:
         upload = await async_client.uploads.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
         )
         assert_matches_type(Upload, upload, path=["response"])
 
@@ -240,7 +240,7 @@ class TestAsyncUploads:
     async def test_method_complete_with_all_params(self, async_client: AsyncOpenAI) -> None:
         upload = await async_client.uploads.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
             md5="md5",
         )
         assert_matches_type(Upload, upload, path=["response"])
@@ -249,7 +249,7 @@ class TestAsyncUploads:
     async def test_raw_response_complete(self, async_client: AsyncOpenAI) -> None:
         response = await async_client.uploads.with_raw_response.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
         )
 
         assert response.is_closed is True
@@ -261,7 +261,7 @@ class TestAsyncUploads:
     async def test_streaming_response_complete(self, async_client: AsyncOpenAI) -> None:
         async with async_client.uploads.with_streaming_response.complete(
             upload_id="upload_abc123",
-            part_ids=["string", "string", "string"],
+            part_ids=["string"],
         ) as response:
             assert not response.is_closed
             assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -276,5 +276,5 @@ class TestAsyncUploads:
         with pytest.raises(ValueError, match=r"Expected a non-empty value for `upload_id` but received ''"):
             await async_client.uploads.with_raw_response.complete(
                 upload_id="",
-                part_ids=["string", "string", "string"],
+                part_ids=["string"],
             )