|
1 | 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. |
2 | 2 |
|
3 | | -from typing import Union, Optional |
4 | | -from typing_extensions import Literal, Annotated, TypeAlias |
| 3 | +from typing import Union |
| 4 | +from typing_extensions import Annotated, TypeAlias |
5 | 5 |
|
6 | 6 | from .._utils import PropertyInfo |
7 | | -from .._models import BaseModel |
8 | 7 | from .data_delta import DataDelta |
9 | 8 | from .text_delta import TextDelta |
10 | 9 | from .tool_request_delta import ToolRequestDelta |
11 | 10 | from .tool_response_delta import ToolResponseDelta |
| 11 | +from .reasoning_content_delta import ReasoningContentDelta |
| 12 | +from .reasoning_summary_delta import ReasoningSummaryDelta |
12 | 13 |
|
13 | | -__all__ = ["TaskMessageDelta", "ReasoningSummaryDelta", "ReasoningContentDelta"] |
14 | | - |
15 | | - |
16 | | -class ReasoningSummaryDelta(BaseModel): |
17 | | - summary_index: int |
18 | | - |
19 | | - summary_delta: Optional[str] = None |
20 | | - |
21 | | - type: Optional[Literal["reasoning_summary"]] = None |
22 | | - |
23 | | - |
24 | | -class ReasoningContentDelta(BaseModel): |
25 | | - content_index: int |
26 | | - |
27 | | - content_delta: Optional[str] = None |
28 | | - |
29 | | - type: Optional[Literal["reasoning_content"]] = None |
30 | | - |
| 14 | +__all__ = ["TaskMessageDelta"] |
31 | 15 |
|
32 | 16 | TaskMessageDelta: TypeAlias = Annotated[ |
33 | 17 | Union[TextDelta, DataDelta, ToolRequestDelta, ToolResponseDelta, ReasoningSummaryDelta, ReasoningContentDelta], |
|
0 commit comments