@@ -741,7 +741,7 @@ def create_and_run_poll(
741
741
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
742
742
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
743
743
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
744
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
744
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
745
745
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
746
746
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
747
747
poll_interval_ms : int | NotGiven = NOT_GIVEN ,
@@ -797,7 +797,7 @@ def create_and_run_stream(
797
797
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
798
798
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
799
799
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
800
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
800
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
801
801
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
802
802
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
803
803
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -826,7 +826,7 @@ def create_and_run_stream(
826
826
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
827
827
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
828
828
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
829
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
829
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
830
830
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
831
831
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
832
832
event_handler : AssistantEventHandlerT ,
@@ -855,7 +855,7 @@ def create_and_run_stream(
855
855
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
856
856
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
857
857
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
858
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
858
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
859
859
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
860
860
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
861
861
event_handler : AssistantEventHandlerT | None = None ,
@@ -1590,7 +1590,7 @@ async def create_and_run_poll(
1590
1590
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
1591
1591
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
1592
1592
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
1593
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
1593
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
1594
1594
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
1595
1595
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
1596
1596
poll_interval_ms : int | NotGiven = NOT_GIVEN ,
@@ -1648,7 +1648,7 @@ def create_and_run_stream(
1648
1648
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
1649
1649
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
1650
1650
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
1651
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
1651
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
1652
1652
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
1653
1653
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
1654
1654
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1677,7 +1677,7 @@ def create_and_run_stream(
1677
1677
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
1678
1678
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
1679
1679
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
1680
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
1680
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
1681
1681
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
1682
1682
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
1683
1683
event_handler : AsyncAssistantEventHandlerT ,
@@ -1706,7 +1706,7 @@ def create_and_run_stream(
1706
1706
thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
1707
1707
tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
1708
1708
tool_resources : Optional [thread_create_and_run_params .ToolResources ] | NotGiven = NOT_GIVEN ,
1709
- tools : Optional [Iterable [thread_create_and_run_params . Tool ]] | NotGiven = NOT_GIVEN ,
1709
+ tools : Optional [Iterable [AssistantToolParam ]] | NotGiven = NOT_GIVEN ,
1710
1710
top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
1711
1711
truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
1712
1712
event_handler : AsyncAssistantEventHandlerT | None = None ,
0 commit comments