diff --git a/.stats.yml b/.stats.yml index cd03fb95..10418050 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 8 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-8b9d1faf866c909561b771928d9c93b9de29ccdb684b0a9b05a49390e233cf39.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-c39a889a7a9dfbe831ced04498536bd26dfb9018dd6c8da435f4f825b05967c8.yml diff --git a/src/arcadepy/resources/chat/completions.py b/src/arcadepy/resources/chat/completions.py index ca188130..f6ab0b4a 100644 --- a/src/arcadepy/resources/chat/completions.py +++ b/src/arcadepy/resources/chat/completions.py @@ -58,7 +58,7 @@ def create( messages: Iterable[ChatMessageParam] | NotGiven = NOT_GIVEN, model: str | NotGiven = NOT_GIVEN, n: int | NotGiven = NOT_GIVEN, - parallel_tool_calls: object | NotGiven = NOT_GIVEN, + parallel_tool_calls: bool | NotGiven = NOT_GIVEN, presence_penalty: int | NotGiven = NOT_GIVEN, response_format: Literal["json_object", "text"] | NotGiven = NOT_GIVEN, seed: int | NotGiven = NOT_GIVEN, @@ -181,7 +181,7 @@ async def create( messages: Iterable[ChatMessageParam] | NotGiven = NOT_GIVEN, model: str | NotGiven = NOT_GIVEN, n: int | NotGiven = NOT_GIVEN, - parallel_tool_calls: object | NotGiven = NOT_GIVEN, + parallel_tool_calls: bool | NotGiven = NOT_GIVEN, presence_penalty: int | NotGiven = NOT_GIVEN, response_format: Literal["json_object", "text"] | NotGiven = NOT_GIVEN, seed: int | NotGiven = NOT_GIVEN, diff --git a/src/arcadepy/types/chat/completion_create_params.py b/src/arcadepy/types/chat/completion_create_params.py index 43b86239..4081ba17 100644 --- a/src/arcadepy/types/chat/completion_create_params.py +++ b/src/arcadepy/types/chat/completion_create_params.py @@ -37,7 +37,7 @@ class CompletionCreateParams(TypedDict, total=False): n: int - parallel_tool_calls: object + parallel_tool_calls: bool """Disable the default behavior of parallel tool calls by setting it: false.""" presence_penalty: int diff --git a/tests/api_resources/chat/test_completions.py b/tests/api_resources/chat/test_completions.py index 3cdade05..dc8a03e8 100644 --- a/tests/api_resources/chat/test_completions.py +++ b/tests/api_resources/chat/test_completions.py @@ -129,7 +129,7 @@ def test_method_create_with_all_params(self, client: Arcade) -> None: ], model="model", n=0, - parallel_tool_calls={}, + parallel_tool_calls=True, presence_penalty=0, response_format="json_object", seed=0, @@ -281,7 +281,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncArcade) -> ], model="model", n=0, - parallel_tool_calls={}, + parallel_tool_calls=True, presence_penalty=0, response_format="json_object", seed=0,