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