|
51 | 51 | from .....types.shared.reasoning_effort import ReasoningEffort |
52 | 52 | from .....types.beta.assistant_tool_param import AssistantToolParam |
53 | 53 | from .....types.beta.assistant_stream_event import AssistantStreamEvent |
| 54 | +from .....types.beta.truncation_object_param import TruncationObjectParam |
54 | 55 | from .....types.beta.threads.runs.run_step_include import RunStepInclude |
55 | 56 | from .....types.beta.assistant_tool_choice_option_param import AssistantToolChoiceOptionParam |
56 | 57 | from .....types.beta.assistant_response_format_option_param import AssistantResponseFormatOptionParam |
@@ -104,7 +105,7 @@ def create( |
104 | 105 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
105 | 106 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
106 | 107 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
107 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 108 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
108 | 109 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
109 | 110 | # The extra values given here take precedence over values defined on the client or passed to this method. |
110 | 111 | extra_headers: Headers | None = None, |
@@ -254,7 +255,7 @@ def create( |
254 | 255 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
255 | 256 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
256 | 257 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
257 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 258 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
258 | 259 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
259 | 260 | # The extra values given here take precedence over values defined on the client or passed to this method. |
260 | 261 | extra_headers: Headers | None = None, |
@@ -404,7 +405,7 @@ def create( |
404 | 405 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
405 | 406 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
406 | 407 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
407 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 408 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
408 | 409 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
409 | 410 | # The extra values given here take precedence over values defined on the client or passed to this method. |
410 | 411 | extra_headers: Headers | None = None, |
@@ -554,7 +555,7 @@ def create( |
554 | 555 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
555 | 556 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
556 | 557 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
557 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 558 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
558 | 559 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
559 | 560 | # The extra values given here take precedence over values defined on the client or passed to this method. |
560 | 561 | extra_headers: Headers | None = None, |
@@ -1515,7 +1516,7 @@ async def create( |
1515 | 1516 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
1516 | 1517 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
1517 | 1518 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
1518 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 1519 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
1519 | 1520 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1520 | 1521 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1521 | 1522 | extra_headers: Headers | None = None, |
@@ -1665,7 +1666,7 @@ async def create( |
1665 | 1666 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
1666 | 1667 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
1667 | 1668 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
1668 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 1669 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
1669 | 1670 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1670 | 1671 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1671 | 1672 | extra_headers: Headers | None = None, |
@@ -1815,7 +1816,7 @@ async def create( |
1815 | 1816 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
1816 | 1817 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
1817 | 1818 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
1818 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 1819 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
1819 | 1820 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1820 | 1821 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1821 | 1822 | extra_headers: Headers | None = None, |
@@ -1965,7 +1966,7 @@ async def create( |
1965 | 1966 | tool_choice: Optional[AssistantToolChoiceOptionParam] | NotGiven = NOT_GIVEN, |
1966 | 1967 | tools: Optional[Iterable[AssistantToolParam]] | NotGiven = NOT_GIVEN, |
1967 | 1968 | top_p: Optional[float] | NotGiven = NOT_GIVEN, |
1968 | | - truncation_strategy: Optional[run_create_params.TruncationStrategy] | NotGiven = NOT_GIVEN, |
| 1969 | + truncation_strategy: Optional[TruncationObjectParam] | NotGiven = NOT_GIVEN, |
1969 | 1970 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1970 | 1971 | # The extra values given here take precedence over values defined on the client or passed to this method. |
1971 | 1972 | extra_headers: Headers | None = None, |
|
0 commit comments