diff --git a/tests/api_resources/chat/test_completions.py b/tests/api_resources/chat/test_completions.py index dc8a03e8..5847e4b9 100644 --- a/tests/api_resources/chat/test_completions.py +++ b/tests/api_resources/chat/test_completions.py @@ -43,89 +43,9 @@ def test_method_create_with_all_params(self, client: Arcade) -> None: "name": "name", }, "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - ], - }, - { - "content": "content", - "role": "role", - "name": "name", - "tool_call_id": "tool_call_id", - "tool_calls": [ - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - ], - }, - { - "content": "content", - "role": "role", - "name": "name", - "tool_call_id": "tool_call_id", - "tool_calls": [ - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, + } ], - }, + } ], model="model", n=0, @@ -133,7 +53,7 @@ def test_method_create_with_all_params(self, client: Arcade) -> None: presence_penalty=0, response_format="json_object", seed=0, - stop=["string", "string", "string"], + stop=["string"], stream=True, stream_options={"include_usage": True}, temperature=0, @@ -195,89 +115,9 @@ async def test_method_create_with_all_params(self, async_client: AsyncArcade) -> "name": "name", }, "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - ], - }, - { - "content": "content", - "role": "role", - "name": "name", - "tool_call_id": "tool_call_id", - "tool_calls": [ - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - ], - }, - { - "content": "content", - "role": "role", - "name": "name", - "tool_call_id": "tool_call_id", - "tool_calls": [ - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, - { - "id": "id", - "function": { - "arguments": "arguments", - "name": "name", - }, - "type": "function", - }, + } ], - }, + } ], model="model", n=0, @@ -285,7 +125,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncArcade) -> presence_penalty=0, response_format="json_object", seed=0, - stop=["string", "string", "string"], + stop=["string"], stream=True, stream_options={"include_usage": True}, temperature=0, diff --git a/tests/api_resources/test_auth.py b/tests/api_resources/test_auth.py index 20a4a573..ad9592e2 100644 --- a/tests/api_resources/test_auth.py +++ b/tests/api_resources/test_auth.py @@ -29,7 +29,7 @@ def test_method_authorize(self, client: Arcade) -> None: def test_method_authorize_with_all_params(self, client: Arcade) -> None: auth = client.auth.authorize( auth_requirement={ - "oauth2": {"scopes": ["string", "string", "string"]}, + "oauth2": {"scopes": ["string"]}, "provider_id": "provider_id", "provider_type": "provider_type", }, @@ -119,7 +119,7 @@ async def test_method_authorize(self, async_client: AsyncArcade) -> None: async def test_method_authorize_with_all_params(self, async_client: AsyncArcade) -> None: auth = await async_client.auth.authorize( auth_requirement={ - "oauth2": {"scopes": ["string", "string", "string"]}, + "oauth2": {"scopes": ["string"]}, "provider_id": "provider_id", "provider_type": "provider_type", },