@@ -741,7 +741,7 @@ def create_and_run_poll(
741741 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
742742 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
743743 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 ,
745745 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
746746 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
747747 poll_interval_ms : int | NotGiven = NOT_GIVEN ,
@@ -797,7 +797,7 @@ def create_and_run_stream(
797797 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
798798 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
799799 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 ,
801801 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
802802 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
803803 # 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(
826826 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
827827 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
828828 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 ,
830830 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
831831 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
832832 event_handler : AssistantEventHandlerT ,
@@ -855,7 +855,7 @@ def create_and_run_stream(
855855 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
856856 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
857857 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 ,
859859 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
860860 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
861861 event_handler : AssistantEventHandlerT | None = None ,
@@ -1590,7 +1590,7 @@ async def create_and_run_poll(
15901590 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
15911591 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
15921592 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 ,
15941594 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
15951595 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
15961596 poll_interval_ms : int | NotGiven = NOT_GIVEN ,
@@ -1648,7 +1648,7 @@ def create_and_run_stream(
16481648 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
16491649 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
16501650 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 ,
16521652 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
16531653 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
16541654 # 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(
16771677 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
16781678 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
16791679 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 ,
16811681 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
16821682 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
16831683 event_handler : AsyncAssistantEventHandlerT ,
@@ -1706,7 +1706,7 @@ def create_and_run_stream(
17061706 thread : thread_create_and_run_params .Thread | NotGiven = NOT_GIVEN ,
17071707 tool_choice : Optional [AssistantToolChoiceOptionParam ] | NotGiven = NOT_GIVEN ,
17081708 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 ,
17101710 top_p : Optional [float ] | NotGiven = NOT_GIVEN ,
17111711 truncation_strategy : Optional [thread_create_and_run_params .TruncationStrategy ] | NotGiven = NOT_GIVEN ,
17121712 event_handler : AsyncAssistantEventHandlerT | None = None ,
0 commit comments