letta-client 1.0.0a14__py3-none-any.whl → 1.0.0a15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of letta-client might be problematic. Click here for more details.

@@ -3,19 +3,29 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import List, Union, Iterable, Optional
6
- from typing_extensions import Required, TypeAlias, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from .message_type import MessageType
9
+ from .text_content_param import TextContentParam
10
+ from .image_content_param import ImageContentParam
9
11
  from ..message_create_param import MessageCreateParam
10
12
  from .approval_create_param import ApprovalCreateParam
13
+ from .reasoning_content_param import ReasoningContentParam
14
+ from .tool_call_content_param import ToolCallContentParam
15
+ from .tool_return_content_param import ToolReturnContentParam
16
+ from .omitted_reasoning_content_param import OmittedReasoningContentParam
17
+ from .redacted_reasoning_content_param import RedactedReasoningContentParam
11
18
 
12
- __all__ = ["MessageSendAsyncParams", "Message"]
19
+ __all__ = [
20
+ "MessageSendAsyncParams",
21
+ "InputUnionMember1",
22
+ "InputUnionMember1SummarizedReasoningContent",
23
+ "InputUnionMember1SummarizedReasoningContentSummary",
24
+ "Message",
25
+ ]
13
26
 
14
27
 
15
28
  class MessageSendAsyncParams(TypedDict, total=False):
16
- messages: Required[Iterable[Message]]
17
- """The messages to be sent to the agent."""
18
-
19
29
  assistant_message_tool_kwarg: str
20
30
  """The name of the message argument in the designated message tool.
21
31
 
@@ -44,9 +54,18 @@ class MessageSendAsyncParams(TypedDict, total=False):
44
54
  If `None` (default) returns all messages.
45
55
  """
46
56
 
57
+ input: Union[str, Iterable[InputUnionMember1], None]
58
+ """Syntactic sugar for a single user message.
59
+
60
+ Equivalent to messages=[{'role': 'user', 'content': input}].
61
+ """
62
+
47
63
  max_steps: int
48
64
  """Maximum number of steps the agent should take to process the request."""
49
65
 
66
+ messages: Optional[Iterable[Message]]
67
+ """The messages to be sent to the agent."""
68
+
50
69
  use_assistant_message: bool
51
70
  """
52
71
  Whether the server should parse specific tool call arguments (default
@@ -55,4 +74,37 @@ class MessageSendAsyncParams(TypedDict, total=False):
55
74
  """
56
75
 
57
76
 
77
+ class InputUnionMember1SummarizedReasoningContentSummary(TypedDict, total=False):
78
+ index: Required[int]
79
+ """The index of the summary part."""
80
+
81
+ text: Required[str]
82
+ """The text of the summary part."""
83
+
84
+
85
+ class InputUnionMember1SummarizedReasoningContent(TypedDict, total=False):
86
+ id: Required[str]
87
+ """The unique identifier for this reasoning step."""
88
+
89
+ summary: Required[Iterable[InputUnionMember1SummarizedReasoningContentSummary]]
90
+ """Summaries of the reasoning content."""
91
+
92
+ encrypted_content: str
93
+ """The encrypted reasoning content."""
94
+
95
+ type: Literal["summarized_reasoning"]
96
+ """Indicates this is a summarized reasoning step."""
97
+
98
+
99
+ InputUnionMember1: TypeAlias = Union[
100
+ TextContentParam,
101
+ ImageContentParam,
102
+ ToolCallContentParam,
103
+ ToolReturnContentParam,
104
+ ReasoningContentParam,
105
+ RedactedReasoningContentParam,
106
+ OmittedReasoningContentParam,
107
+ InputUnionMember1SummarizedReasoningContent,
108
+ ]
109
+
58
110
  Message: TypeAlias = Union[MessageCreateParam, ApprovalCreateParam]
@@ -3,19 +3,29 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import List, Union, Iterable, Optional
6
- from typing_extensions import Required, TypeAlias, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from .message_type import MessageType
9
+ from .text_content_param import TextContentParam
10
+ from .image_content_param import ImageContentParam
9
11
  from ..message_create_param import MessageCreateParam
10
12
  from .approval_create_param import ApprovalCreateParam
13
+ from .reasoning_content_param import ReasoningContentParam
14
+ from .tool_call_content_param import ToolCallContentParam
15
+ from .tool_return_content_param import ToolReturnContentParam
16
+ from .omitted_reasoning_content_param import OmittedReasoningContentParam
17
+ from .redacted_reasoning_content_param import RedactedReasoningContentParam
11
18
 
12
- __all__ = ["MessageSendParams", "Message"]
19
+ __all__ = [
20
+ "MessageSendParams",
21
+ "InputUnionMember1",
22
+ "InputUnionMember1SummarizedReasoningContent",
23
+ "InputUnionMember1SummarizedReasoningContentSummary",
24
+ "Message",
25
+ ]
13
26
 
14
27
 
15
28
  class MessageSendParams(TypedDict, total=False):
16
- messages: Required[Iterable[Message]]
17
- """The messages to be sent to the agent."""
18
-
19
29
  assistant_message_tool_kwarg: str
20
30
  """The name of the message argument in the designated message tool.
21
31
 
@@ -41,9 +51,18 @@ class MessageSendParams(TypedDict, total=False):
41
51
  If `None` (default) returns all messages.
42
52
  """
43
53
 
54
+ input: Union[str, Iterable[InputUnionMember1], None]
55
+ """Syntactic sugar for a single user message.
56
+
57
+ Equivalent to messages=[{'role': 'user', 'content': input}].
58
+ """
59
+
44
60
  max_steps: int
45
61
  """Maximum number of steps the agent should take to process the request."""
46
62
 
63
+ messages: Optional[Iterable[Message]]
64
+ """The messages to be sent to the agent."""
65
+
47
66
  use_assistant_message: bool
48
67
  """
49
68
  Whether the server should parse specific tool call arguments (default
@@ -52,4 +71,37 @@ class MessageSendParams(TypedDict, total=False):
52
71
  """
53
72
 
54
73
 
74
+ class InputUnionMember1SummarizedReasoningContentSummary(TypedDict, total=False):
75
+ index: Required[int]
76
+ """The index of the summary part."""
77
+
78
+ text: Required[str]
79
+ """The text of the summary part."""
80
+
81
+
82
+ class InputUnionMember1SummarizedReasoningContent(TypedDict, total=False):
83
+ id: Required[str]
84
+ """The unique identifier for this reasoning step."""
85
+
86
+ summary: Required[Iterable[InputUnionMember1SummarizedReasoningContentSummary]]
87
+ """Summaries of the reasoning content."""
88
+
89
+ encrypted_content: str
90
+ """The encrypted reasoning content."""
91
+
92
+ type: Literal["summarized_reasoning"]
93
+ """Indicates this is a summarized reasoning step."""
94
+
95
+
96
+ InputUnionMember1: TypeAlias = Union[
97
+ TextContentParam,
98
+ ImageContentParam,
99
+ ToolCallContentParam,
100
+ ToolReturnContentParam,
101
+ ReasoningContentParam,
102
+ RedactedReasoningContentParam,
103
+ OmittedReasoningContentParam,
104
+ InputUnionMember1SummarizedReasoningContent,
105
+ ]
106
+
55
107
  Message: TypeAlias = Union[MessageCreateParam, ApprovalCreateParam]
@@ -3,19 +3,29 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import List, Union, Iterable, Optional
6
- from typing_extensions import Required, TypeAlias, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from .message_type import MessageType
9
+ from .text_content_param import TextContentParam
10
+ from .image_content_param import ImageContentParam
9
11
  from ..message_create_param import MessageCreateParam
10
12
  from .approval_create_param import ApprovalCreateParam
13
+ from .reasoning_content_param import ReasoningContentParam
14
+ from .tool_call_content_param import ToolCallContentParam
15
+ from .tool_return_content_param import ToolReturnContentParam
16
+ from .omitted_reasoning_content_param import OmittedReasoningContentParam
17
+ from .redacted_reasoning_content_param import RedactedReasoningContentParam
11
18
 
12
- __all__ = ["MessageStreamParams", "Message"]
19
+ __all__ = [
20
+ "MessageStreamParams",
21
+ "InputUnionMember1",
22
+ "InputUnionMember1SummarizedReasoningContent",
23
+ "InputUnionMember1SummarizedReasoningContentSummary",
24
+ "Message",
25
+ ]
13
26
 
14
27
 
15
28
  class MessageStreamParams(TypedDict, total=False):
16
- messages: Required[Iterable[Message]]
17
- """The messages to be sent to the agent."""
18
-
19
29
  assistant_message_tool_kwarg: str
20
30
  """The name of the message argument in the designated message tool.
21
31
 
@@ -50,9 +60,18 @@ class MessageStreamParams(TypedDict, total=False):
50
60
  If `None` (default) returns all messages.
51
61
  """
52
62
 
63
+ input: Union[str, Iterable[InputUnionMember1], None]
64
+ """Syntactic sugar for a single user message.
65
+
66
+ Equivalent to messages=[{'role': 'user', 'content': input}].
67
+ """
68
+
53
69
  max_steps: int
54
70
  """Maximum number of steps the agent should take to process the request."""
55
71
 
72
+ messages: Optional[Iterable[Message]]
73
+ """The messages to be sent to the agent."""
74
+
56
75
  stream_tokens: bool
57
76
  """
58
77
  Flag to determine if individual tokens should be streamed, rather than streaming
@@ -67,4 +86,37 @@ class MessageStreamParams(TypedDict, total=False):
67
86
  """
68
87
 
69
88
 
89
+ class InputUnionMember1SummarizedReasoningContentSummary(TypedDict, total=False):
90
+ index: Required[int]
91
+ """The index of the summary part."""
92
+
93
+ text: Required[str]
94
+ """The text of the summary part."""
95
+
96
+
97
+ class InputUnionMember1SummarizedReasoningContent(TypedDict, total=False):
98
+ id: Required[str]
99
+ """The unique identifier for this reasoning step."""
100
+
101
+ summary: Required[Iterable[InputUnionMember1SummarizedReasoningContentSummary]]
102
+ """Summaries of the reasoning content."""
103
+
104
+ encrypted_content: str
105
+ """The encrypted reasoning content."""
106
+
107
+ type: Literal["summarized_reasoning"]
108
+ """Indicates this is a summarized reasoning step."""
109
+
110
+
111
+ InputUnionMember1: TypeAlias = Union[
112
+ TextContentParam,
113
+ ImageContentParam,
114
+ ToolCallContentParam,
115
+ ToolReturnContentParam,
116
+ ReasoningContentParam,
117
+ RedactedReasoningContentParam,
118
+ OmittedReasoningContentParam,
119
+ InputUnionMember1SummarizedReasoningContent,
120
+ ]
121
+
70
122
  Message: TypeAlias = Union[MessageCreateParam, ApprovalCreateParam]
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from ..._models import BaseModel
8
+
9
+ __all__ = ["SummaryMessage"]
10
+
11
+
12
+ class SummaryMessage(BaseModel):
13
+ id: str
14
+
15
+ date: datetime
16
+
17
+ summary: str
18
+
19
+ is_err: Optional[bool] = None
20
+
21
+ message_type: Optional[Literal["summary"]] = None
22
+
23
+ name: Optional[str] = None
24
+
25
+ otid: Optional[str] = None
26
+
27
+ run_id: Optional[str] = None
28
+
29
+ sender_id: Optional[str] = None
30
+
31
+ seq_id: Optional[int] = None
32
+
33
+ step_id: Optional[str] = None
@@ -3,13 +3,27 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import List, Union, Iterable, Optional
6
- from typing_extensions import Required, TypeAlias, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from .agents.message_type import MessageType
9
9
  from .message_create_param import MessageCreateParam
10
+ from .agents.text_content_param import TextContentParam
11
+ from .agents.image_content_param import ImageContentParam
10
12
  from .agents.approval_create_param import ApprovalCreateParam
11
-
12
- __all__ = ["BatchCreateParams", "Request", "RequestMessage"]
13
+ from .agents.reasoning_content_param import ReasoningContentParam
14
+ from .agents.tool_call_content_param import ToolCallContentParam
15
+ from .agents.tool_return_content_param import ToolReturnContentParam
16
+ from .agents.omitted_reasoning_content_param import OmittedReasoningContentParam
17
+ from .agents.redacted_reasoning_content_param import RedactedReasoningContentParam
18
+
19
+ __all__ = [
20
+ "BatchCreateParams",
21
+ "Request",
22
+ "RequestInputUnionMember1",
23
+ "RequestInputUnionMember1SummarizedReasoningContent",
24
+ "RequestInputUnionMember1SummarizedReasoningContentSummary",
25
+ "RequestMessage",
26
+ ]
13
27
 
14
28
 
15
29
  class BatchCreateParams(TypedDict, total=False):
@@ -27,6 +41,39 @@ class BatchCreateParams(TypedDict, total=False):
27
41
  """
28
42
 
29
43
 
44
+ class RequestInputUnionMember1SummarizedReasoningContentSummary(TypedDict, total=False):
45
+ index: Required[int]
46
+ """The index of the summary part."""
47
+
48
+ text: Required[str]
49
+ """The text of the summary part."""
50
+
51
+
52
+ class RequestInputUnionMember1SummarizedReasoningContent(TypedDict, total=False):
53
+ id: Required[str]
54
+ """The unique identifier for this reasoning step."""
55
+
56
+ summary: Required[Iterable[RequestInputUnionMember1SummarizedReasoningContentSummary]]
57
+ """Summaries of the reasoning content."""
58
+
59
+ encrypted_content: str
60
+ """The encrypted reasoning content."""
61
+
62
+ type: Literal["summarized_reasoning"]
63
+ """Indicates this is a summarized reasoning step."""
64
+
65
+
66
+ RequestInputUnionMember1: TypeAlias = Union[
67
+ TextContentParam,
68
+ ImageContentParam,
69
+ ToolCallContentParam,
70
+ ToolReturnContentParam,
71
+ ReasoningContentParam,
72
+ RedactedReasoningContentParam,
73
+ OmittedReasoningContentParam,
74
+ RequestInputUnionMember1SummarizedReasoningContent,
75
+ ]
76
+
30
77
  RequestMessage: TypeAlias = Union[MessageCreateParam, ApprovalCreateParam]
31
78
 
32
79
 
@@ -34,9 +81,6 @@ class Request(TypedDict, total=False):
34
81
  agent_id: Required[str]
35
82
  """The ID of the agent to send this batch request for"""
36
83
 
37
- messages: Required[Iterable[RequestMessage]]
38
- """The messages to be sent to the agent."""
39
-
40
84
  assistant_message_tool_kwarg: str
41
85
  """The name of the message argument in the designated message tool.
42
86
 
@@ -62,9 +106,18 @@ class Request(TypedDict, total=False):
62
106
  If `None` (default) returns all messages.
63
107
  """
64
108
 
109
+ input: Union[str, Iterable[RequestInputUnionMember1], None]
110
+ """Syntactic sugar for a single user message.
111
+
112
+ Equivalent to messages=[{'role': 'user', 'content': input}].
113
+ """
114
+
65
115
  max_steps: int
66
116
  """Maximum number of steps the agent should take to process the request."""
67
117
 
118
+ messages: Optional[Iterable[RequestMessage]]
119
+ """The messages to be sent to the agent."""
120
+
68
121
  use_assistant_message: bool
69
122
  """
70
123
  Whether the server should parse specific tool call arguments (default
@@ -6,7 +6,9 @@ from typing_extensions import Annotated, TypeAlias
6
6
  from ..._utils import PropertyInfo
7
7
  from ..agents.user_message import UserMessage
8
8
  from ..tool_return_message import ToolReturnMessage
9
+ from ..agents.event_message import EventMessage
9
10
  from ..agents.system_message import SystemMessage
11
+ from ..agents.summary_message import SummaryMessage
10
12
  from ..agents.assistant_message import AssistantMessage
11
13
  from ..agents.reasoning_message import ReasoningMessage
12
14
  from ..agents.tool_call_message import ToolCallMessage
@@ -27,6 +29,8 @@ MessageModifyResponse: TypeAlias = Annotated[
27
29
  AssistantMessage,
28
30
  ApprovalRequestMessage,
29
31
  ApprovalResponseMessage,
32
+ SummaryMessage,
33
+ EventMessage,
30
34
  ],
31
35
  PropertyInfo(discriminator="message_type"),
32
36
  ]
@@ -3,19 +3,29 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import List, Union, Iterable, Optional
6
- from typing_extensions import Required, TypeAlias, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from ..agents.message_type import MessageType
9
9
  from ..message_create_param import MessageCreateParam
10
+ from ..agents.text_content_param import TextContentParam
11
+ from ..agents.image_content_param import ImageContentParam
10
12
  from ..agents.approval_create_param import ApprovalCreateParam
13
+ from ..agents.reasoning_content_param import ReasoningContentParam
14
+ from ..agents.tool_call_content_param import ToolCallContentParam
15
+ from ..agents.tool_return_content_param import ToolReturnContentParam
16
+ from ..agents.omitted_reasoning_content_param import OmittedReasoningContentParam
17
+ from ..agents.redacted_reasoning_content_param import RedactedReasoningContentParam
11
18
 
12
- __all__ = ["MessageSendParams", "Message"]
19
+ __all__ = [
20
+ "MessageSendParams",
21
+ "InputUnionMember1",
22
+ "InputUnionMember1SummarizedReasoningContent",
23
+ "InputUnionMember1SummarizedReasoningContentSummary",
24
+ "Message",
25
+ ]
13
26
 
14
27
 
15
28
  class MessageSendParams(TypedDict, total=False):
16
- messages: Required[Iterable[Message]]
17
- """The messages to be sent to the agent."""
18
-
19
29
  assistant_message_tool_kwarg: str
20
30
  """The name of the message argument in the designated message tool.
21
31
 
@@ -41,9 +51,18 @@ class MessageSendParams(TypedDict, total=False):
41
51
  If `None` (default) returns all messages.
42
52
  """
43
53
 
54
+ input: Union[str, Iterable[InputUnionMember1], None]
55
+ """Syntactic sugar for a single user message.
56
+
57
+ Equivalent to messages=[{'role': 'user', 'content': input}].
58
+ """
59
+
44
60
  max_steps: int
45
61
  """Maximum number of steps the agent should take to process the request."""
46
62
 
63
+ messages: Optional[Iterable[Message]]
64
+ """The messages to be sent to the agent."""
65
+
47
66
  use_assistant_message: bool
48
67
  """
49
68
  Whether the server should parse specific tool call arguments (default
@@ -52,4 +71,37 @@ class MessageSendParams(TypedDict, total=False):
52
71
  """
53
72
 
54
73
 
74
+ class InputUnionMember1SummarizedReasoningContentSummary(TypedDict, total=False):
75
+ index: Required[int]
76
+ """The index of the summary part."""
77
+
78
+ text: Required[str]
79
+ """The text of the summary part."""
80
+
81
+
82
+ class InputUnionMember1SummarizedReasoningContent(TypedDict, total=False):
83
+ id: Required[str]
84
+ """The unique identifier for this reasoning step."""
85
+
86
+ summary: Required[Iterable[InputUnionMember1SummarizedReasoningContentSummary]]
87
+ """Summaries of the reasoning content."""
88
+
89
+ encrypted_content: str
90
+ """The encrypted reasoning content."""
91
+
92
+ type: Literal["summarized_reasoning"]
93
+ """Indicates this is a summarized reasoning step."""
94
+
95
+
96
+ InputUnionMember1: TypeAlias = Union[
97
+ TextContentParam,
98
+ ImageContentParam,
99
+ ToolCallContentParam,
100
+ ToolReturnContentParam,
101
+ ReasoningContentParam,
102
+ RedactedReasoningContentParam,
103
+ OmittedReasoningContentParam,
104
+ InputUnionMember1SummarizedReasoningContent,
105
+ ]
106
+
55
107
  Message: TypeAlias = Union[MessageCreateParam, ApprovalCreateParam]
@@ -3,19 +3,29 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import List, Union, Iterable, Optional
6
- from typing_extensions import Required, TypeAlias, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
8
  from ..agents.message_type import MessageType
9
9
  from ..message_create_param import MessageCreateParam
10
+ from ..agents.text_content_param import TextContentParam
11
+ from ..agents.image_content_param import ImageContentParam
10
12
  from ..agents.approval_create_param import ApprovalCreateParam
13
+ from ..agents.reasoning_content_param import ReasoningContentParam
14
+ from ..agents.tool_call_content_param import ToolCallContentParam
15
+ from ..agents.tool_return_content_param import ToolReturnContentParam
16
+ from ..agents.omitted_reasoning_content_param import OmittedReasoningContentParam
17
+ from ..agents.redacted_reasoning_content_param import RedactedReasoningContentParam
11
18
 
12
- __all__ = ["MessageStreamParams", "Message"]
19
+ __all__ = [
20
+ "MessageStreamParams",
21
+ "InputUnionMember1",
22
+ "InputUnionMember1SummarizedReasoningContent",
23
+ "InputUnionMember1SummarizedReasoningContentSummary",
24
+ "Message",
25
+ ]
13
26
 
14
27
 
15
28
  class MessageStreamParams(TypedDict, total=False):
16
- messages: Required[Iterable[Message]]
17
- """The messages to be sent to the agent."""
18
-
19
29
  assistant_message_tool_kwarg: str
20
30
  """The name of the message argument in the designated message tool.
21
31
 
@@ -50,9 +60,18 @@ class MessageStreamParams(TypedDict, total=False):
50
60
  If `None` (default) returns all messages.
51
61
  """
52
62
 
63
+ input: Union[str, Iterable[InputUnionMember1], None]
64
+ """Syntactic sugar for a single user message.
65
+
66
+ Equivalent to messages=[{'role': 'user', 'content': input}].
67
+ """
68
+
53
69
  max_steps: int
54
70
  """Maximum number of steps the agent should take to process the request."""
55
71
 
72
+ messages: Optional[Iterable[Message]]
73
+ """The messages to be sent to the agent."""
74
+
56
75
  stream_tokens: bool
57
76
  """
58
77
  Flag to determine if individual tokens should be streamed, rather than streaming
@@ -67,4 +86,37 @@ class MessageStreamParams(TypedDict, total=False):
67
86
  """
68
87
 
69
88
 
89
+ class InputUnionMember1SummarizedReasoningContentSummary(TypedDict, total=False):
90
+ index: Required[int]
91
+ """The index of the summary part."""
92
+
93
+ text: Required[str]
94
+ """The text of the summary part."""
95
+
96
+
97
+ class InputUnionMember1SummarizedReasoningContent(TypedDict, total=False):
98
+ id: Required[str]
99
+ """The unique identifier for this reasoning step."""
100
+
101
+ summary: Required[Iterable[InputUnionMember1SummarizedReasoningContentSummary]]
102
+ """Summaries of the reasoning content."""
103
+
104
+ encrypted_content: str
105
+ """The encrypted reasoning content."""
106
+
107
+ type: Literal["summarized_reasoning"]
108
+ """Indicates this is a summarized reasoning step."""
109
+
110
+
111
+ InputUnionMember1: TypeAlias = Union[
112
+ TextContentParam,
113
+ ImageContentParam,
114
+ ToolCallContentParam,
115
+ ToolReturnContentParam,
116
+ ReasoningContentParam,
117
+ RedactedReasoningContentParam,
118
+ OmittedReasoningContentParam,
119
+ InputUnionMember1SummarizedReasoningContent,
120
+ ]
121
+
70
122
  Message: TypeAlias = Union[MessageCreateParam, ApprovalCreateParam]
@@ -6,7 +6,9 @@ from typing_extensions import Annotated, TypeAlias
6
6
  from ..._utils import PropertyInfo
7
7
  from ..agents.user_message import UserMessage
8
8
  from ..tool_return_message import ToolReturnMessage
9
+ from ..agents.event_message import EventMessage
9
10
  from ..agents.system_message import SystemMessage
11
+ from ..agents.summary_message import SummaryMessage
10
12
  from ..agents.assistant_message import AssistantMessage
11
13
  from ..agents.reasoning_message import ReasoningMessage
12
14
  from ..agents.tool_call_message import ToolCallMessage
@@ -27,6 +29,8 @@ MessageListResponse: TypeAlias = Annotated[
27
29
  AssistantMessage,
28
30
  ApprovalRequestMessage,
29
31
  ApprovalResponseMessage,
32
+ SummaryMessage,
33
+ EventMessage,
30
34
  ],
31
35
  PropertyInfo(discriminator="message_type"),
32
36
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: letta-client
3
- Version: 1.0.0a14
3
+ Version: 1.0.0a15
4
4
  Summary: The official Python library for the letta API
5
5
  Project-URL: Homepage, https://github.com/letta-ai/letta-python
6
6
  Project-URL: Repository, https://github.com/letta-ai/letta-python