letta-client 0.1.147__py3-none-any.whl → 0.1.149__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.
- letta_client/__init__.py +16 -0
- letta_client/agents/messages/client.py +31 -0
- letta_client/agents/passages/client.py +10 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/groups/messages/client.py +21 -0
- letta_client/types/__init__.py +16 -0
- letta_client/types/base_64_image.py +33 -0
- letta_client/types/file_metadata.py +11 -0
- letta_client/types/file_processing_status.py +5 -0
- letta_client/types/image_content.py +24 -0
- letta_client/types/image_content_source.py +8 -0
- letta_client/types/letta_batch_request.py +6 -0
- letta_client/types/letta_image.py +38 -0
- letta_client/types/letta_message_content_union.py +2 -1
- letta_client/types/letta_request.py +6 -0
- letta_client/types/letta_streaming_request.py +6 -0
- letta_client/types/letta_user_message_content_union.py +7 -0
- letta_client/types/message_content_item.py +8 -1
- letta_client/types/message_type.py +16 -0
- letta_client/types/passage.py +5 -0
- letta_client/types/tool_type.py +1 -0
- letta_client/types/update_user_message_content.py +2 -2
- letta_client/types/url_image.py +23 -0
- letta_client/types/user_message_content.py +2 -2
- {letta_client-0.1.147.dist-info → letta_client-0.1.149.dist-info}/METADATA +1 -1
- {letta_client-0.1.147.dist-info → letta_client-0.1.149.dist-info}/RECORD +27 -19
- {letta_client-0.1.147.dist-info → letta_client-0.1.149.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -21,6 +21,7 @@ from .types import (
|
|
|
21
21
|
AuthResponse,
|
|
22
22
|
AuthSchemeField,
|
|
23
23
|
BadRequestErrorBody,
|
|
24
|
+
Base64Image,
|
|
24
25
|
BaseToolRuleSchema,
|
|
25
26
|
BatchJob,
|
|
26
27
|
Block,
|
|
@@ -91,6 +92,7 @@ from .types import (
|
|
|
91
92
|
File,
|
|
92
93
|
FileFile,
|
|
93
94
|
FileMetadata,
|
|
95
|
+
FileProcessingStatus,
|
|
94
96
|
FunctionCall,
|
|
95
97
|
FunctionDefinitionInput,
|
|
96
98
|
FunctionDefinitionOutput,
|
|
@@ -106,6 +108,8 @@ from .types import (
|
|
|
106
108
|
IdentityPropertyType,
|
|
107
109
|
IdentityPropertyValue,
|
|
108
110
|
IdentityType,
|
|
111
|
+
ImageContent,
|
|
112
|
+
ImageContentSource,
|
|
109
113
|
ImageUrl,
|
|
110
114
|
ImageUrlDetail,
|
|
111
115
|
InitToolRule,
|
|
@@ -120,6 +124,7 @@ from .types import (
|
|
|
120
124
|
JsonSchemaResponseFormat,
|
|
121
125
|
LettaBatchMessages,
|
|
122
126
|
LettaBatchRequest,
|
|
127
|
+
LettaImage,
|
|
123
128
|
LettaMessageContentUnion,
|
|
124
129
|
LettaMessageUnion,
|
|
125
130
|
LettaRequest,
|
|
@@ -127,6 +132,7 @@ from .types import (
|
|
|
127
132
|
LettaResponse,
|
|
128
133
|
LettaStreamingRequest,
|
|
129
134
|
LettaUsageStatistics,
|
|
135
|
+
LettaUserMessageContentUnion,
|
|
130
136
|
LlmConfig,
|
|
131
137
|
LlmConfigModelEndpointType,
|
|
132
138
|
LlmConfigReasoningEffort,
|
|
@@ -144,6 +150,7 @@ from .types import (
|
|
|
144
150
|
MessageCreateRole,
|
|
145
151
|
MessageRole,
|
|
146
152
|
MessageSchema,
|
|
153
|
+
MessageType,
|
|
147
154
|
NotFoundErrorBody,
|
|
148
155
|
NotFoundErrorBodyMessage,
|
|
149
156
|
OmittedReasoningContent,
|
|
@@ -217,6 +224,7 @@ from .types import (
|
|
|
217
224
|
UpdateSystemMessage,
|
|
218
225
|
UpdateUserMessage,
|
|
219
226
|
UpdateUserMessageContent,
|
|
227
|
+
UrlImage,
|
|
220
228
|
UsageStatistics,
|
|
221
229
|
UsageStatisticsCompletionTokenDetails,
|
|
222
230
|
UsageStatisticsPromptTokenDetails,
|
|
@@ -332,6 +340,7 @@ __all__ = [
|
|
|
332
340
|
"AuthSchemeField",
|
|
333
341
|
"BadRequestError",
|
|
334
342
|
"BadRequestErrorBody",
|
|
343
|
+
"Base64Image",
|
|
335
344
|
"BaseToolRuleSchema",
|
|
336
345
|
"BatchJob",
|
|
337
346
|
"Block",
|
|
@@ -413,6 +422,7 @@ __all__ = [
|
|
|
413
422
|
"File",
|
|
414
423
|
"FileFile",
|
|
415
424
|
"FileMetadata",
|
|
425
|
+
"FileProcessingStatus",
|
|
416
426
|
"FunctionCall",
|
|
417
427
|
"FunctionDefinitionInput",
|
|
418
428
|
"FunctionDefinitionOutput",
|
|
@@ -430,6 +440,8 @@ __all__ = [
|
|
|
430
440
|
"IdentityPropertyType",
|
|
431
441
|
"IdentityPropertyValue",
|
|
432
442
|
"IdentityType",
|
|
443
|
+
"ImageContent",
|
|
444
|
+
"ImageContentSource",
|
|
433
445
|
"ImageUrl",
|
|
434
446
|
"ImageUrlDetail",
|
|
435
447
|
"InitToolRule",
|
|
@@ -447,6 +459,7 @@ __all__ = [
|
|
|
447
459
|
"LettaBatchMessages",
|
|
448
460
|
"LettaBatchRequest",
|
|
449
461
|
"LettaEnvironment",
|
|
462
|
+
"LettaImage",
|
|
450
463
|
"LettaMessageContentUnion",
|
|
451
464
|
"LettaMessageUnion",
|
|
452
465
|
"LettaRequest",
|
|
@@ -454,6 +467,7 @@ __all__ = [
|
|
|
454
467
|
"LettaResponse",
|
|
455
468
|
"LettaStreamingRequest",
|
|
456
469
|
"LettaUsageStatistics",
|
|
470
|
+
"LettaUserMessageContentUnion",
|
|
457
471
|
"ListMcpServersResponseValue",
|
|
458
472
|
"LlmConfig",
|
|
459
473
|
"LlmConfigModelEndpointType",
|
|
@@ -472,6 +486,7 @@ __all__ = [
|
|
|
472
486
|
"MessageCreateRole",
|
|
473
487
|
"MessageRole",
|
|
474
488
|
"MessageSchema",
|
|
489
|
+
"MessageType",
|
|
475
490
|
"NotFoundError",
|
|
476
491
|
"NotFoundErrorBody",
|
|
477
492
|
"NotFoundErrorBodyMessage",
|
|
@@ -554,6 +569,7 @@ __all__ = [
|
|
|
554
569
|
"UpdateSystemMessage",
|
|
555
570
|
"UpdateUserMessage",
|
|
556
571
|
"UpdateUserMessageContent",
|
|
572
|
+
"UrlImage",
|
|
557
573
|
"UsageStatistics",
|
|
558
574
|
"UsageStatisticsCompletionTokenDetails",
|
|
559
575
|
"UsageStatisticsPromptTokenDetails",
|
|
@@ -11,6 +11,7 @@ from ...types.http_validation_error import HttpValidationError
|
|
|
11
11
|
from json.decoder import JSONDecodeError
|
|
12
12
|
from ...core.api_error import ApiError
|
|
13
13
|
from ...types.message_create import MessageCreate
|
|
14
|
+
from ...types.message_type import MessageType
|
|
14
15
|
from ...types.letta_response import LettaResponse
|
|
15
16
|
from ...core.serialization import convert_and_respect_annotation_metadata
|
|
16
17
|
from .types.messages_modify_request import MessagesModifyRequest
|
|
@@ -136,6 +137,7 @@ class MessagesClient:
|
|
|
136
137
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
137
138
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
138
139
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
140
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
139
141
|
request_options: typing.Optional[RequestOptions] = None,
|
|
140
142
|
) -> LettaResponse:
|
|
141
143
|
"""
|
|
@@ -158,6 +160,9 @@ class MessagesClient:
|
|
|
158
160
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
159
161
|
The name of the message argument in the designated message tool.
|
|
160
162
|
|
|
163
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
164
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
165
|
+
|
|
161
166
|
request_options : typing.Optional[RequestOptions]
|
|
162
167
|
Request-specific configuration.
|
|
163
168
|
|
|
@@ -197,6 +202,7 @@ class MessagesClient:
|
|
|
197
202
|
"use_assistant_message": use_assistant_message,
|
|
198
203
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
199
204
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
205
|
+
"include_return_message_types": include_return_message_types,
|
|
200
206
|
},
|
|
201
207
|
request_options=request_options,
|
|
202
208
|
omit=OMIT,
|
|
@@ -308,6 +314,7 @@ class MessagesClient:
|
|
|
308
314
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
309
315
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
310
316
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
317
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
311
318
|
stream_tokens: typing.Optional[bool] = OMIT,
|
|
312
319
|
request_options: typing.Optional[RequestOptions] = None,
|
|
313
320
|
) -> typing.Iterator[LettaStreamingResponse]:
|
|
@@ -332,6 +339,9 @@ class MessagesClient:
|
|
|
332
339
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
333
340
|
The name of the message argument in the designated message tool.
|
|
334
341
|
|
|
342
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
343
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
344
|
+
|
|
335
345
|
stream_tokens : typing.Optional[bool]
|
|
336
346
|
Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).
|
|
337
347
|
|
|
@@ -376,6 +386,7 @@ class MessagesClient:
|
|
|
376
386
|
"use_assistant_message": use_assistant_message,
|
|
377
387
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
378
388
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
389
|
+
"include_return_message_types": include_return_message_types,
|
|
379
390
|
"stream_tokens": stream_tokens,
|
|
380
391
|
},
|
|
381
392
|
request_options=request_options,
|
|
@@ -420,6 +431,7 @@ class MessagesClient:
|
|
|
420
431
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
421
432
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
422
433
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
434
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
423
435
|
request_options: typing.Optional[RequestOptions] = None,
|
|
424
436
|
) -> Run:
|
|
425
437
|
"""
|
|
@@ -442,6 +454,9 @@ class MessagesClient:
|
|
|
442
454
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
443
455
|
The name of the message argument in the designated message tool.
|
|
444
456
|
|
|
457
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
458
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
459
|
+
|
|
445
460
|
request_options : typing.Optional[RequestOptions]
|
|
446
461
|
Request-specific configuration.
|
|
447
462
|
|
|
@@ -481,6 +496,7 @@ class MessagesClient:
|
|
|
481
496
|
"use_assistant_message": use_assistant_message,
|
|
482
497
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
483
498
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
499
|
+
"include_return_message_types": include_return_message_types,
|
|
484
500
|
},
|
|
485
501
|
request_options=request_options,
|
|
486
502
|
omit=OMIT,
|
|
@@ -696,6 +712,7 @@ class AsyncMessagesClient:
|
|
|
696
712
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
697
713
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
698
714
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
715
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
699
716
|
request_options: typing.Optional[RequestOptions] = None,
|
|
700
717
|
) -> LettaResponse:
|
|
701
718
|
"""
|
|
@@ -718,6 +735,9 @@ class AsyncMessagesClient:
|
|
|
718
735
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
719
736
|
The name of the message argument in the designated message tool.
|
|
720
737
|
|
|
738
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
739
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
740
|
+
|
|
721
741
|
request_options : typing.Optional[RequestOptions]
|
|
722
742
|
Request-specific configuration.
|
|
723
743
|
|
|
@@ -765,6 +785,7 @@ class AsyncMessagesClient:
|
|
|
765
785
|
"use_assistant_message": use_assistant_message,
|
|
766
786
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
767
787
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
788
|
+
"include_return_message_types": include_return_message_types,
|
|
768
789
|
},
|
|
769
790
|
request_options=request_options,
|
|
770
791
|
omit=OMIT,
|
|
@@ -884,6 +905,7 @@ class AsyncMessagesClient:
|
|
|
884
905
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
885
906
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
886
907
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
908
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
887
909
|
stream_tokens: typing.Optional[bool] = OMIT,
|
|
888
910
|
request_options: typing.Optional[RequestOptions] = None,
|
|
889
911
|
) -> typing.AsyncIterator[LettaStreamingResponse]:
|
|
@@ -908,6 +930,9 @@ class AsyncMessagesClient:
|
|
|
908
930
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
909
931
|
The name of the message argument in the designated message tool.
|
|
910
932
|
|
|
933
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
934
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
935
|
+
|
|
911
936
|
stream_tokens : typing.Optional[bool]
|
|
912
937
|
Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).
|
|
913
938
|
|
|
@@ -960,6 +985,7 @@ class AsyncMessagesClient:
|
|
|
960
985
|
"use_assistant_message": use_assistant_message,
|
|
961
986
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
962
987
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
988
|
+
"include_return_message_types": include_return_message_types,
|
|
963
989
|
"stream_tokens": stream_tokens,
|
|
964
990
|
},
|
|
965
991
|
request_options=request_options,
|
|
@@ -1004,6 +1030,7 @@ class AsyncMessagesClient:
|
|
|
1004
1030
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
1005
1031
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
1006
1032
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
1033
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
1007
1034
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1008
1035
|
) -> Run:
|
|
1009
1036
|
"""
|
|
@@ -1026,6 +1053,9 @@ class AsyncMessagesClient:
|
|
|
1026
1053
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
1027
1054
|
The name of the message argument in the designated message tool.
|
|
1028
1055
|
|
|
1056
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
1057
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
1058
|
+
|
|
1029
1059
|
request_options : typing.Optional[RequestOptions]
|
|
1030
1060
|
Request-specific configuration.
|
|
1031
1061
|
|
|
@@ -1073,6 +1103,7 @@ class AsyncMessagesClient:
|
|
|
1073
1103
|
"use_assistant_message": use_assistant_message,
|
|
1074
1104
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
1075
1105
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
1106
|
+
"include_return_message_types": include_return_message_types,
|
|
1076
1107
|
},
|
|
1077
1108
|
request_options=request_options,
|
|
1078
1109
|
omit=OMIT,
|
|
@@ -255,6 +255,7 @@ class PassagesClient:
|
|
|
255
255
|
passage_update_agent_id: typing.Optional[str] = OMIT,
|
|
256
256
|
source_id: typing.Optional[str] = OMIT,
|
|
257
257
|
file_id: typing.Optional[str] = OMIT,
|
|
258
|
+
file_name: typing.Optional[str] = OMIT,
|
|
258
259
|
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
259
260
|
text: typing.Optional[str] = OMIT,
|
|
260
261
|
embedding: typing.Optional[typing.Sequence[float]] = OMIT,
|
|
@@ -297,6 +298,9 @@ class PassagesClient:
|
|
|
297
298
|
file_id : typing.Optional[str]
|
|
298
299
|
The unique identifier of the file associated with the passage.
|
|
299
300
|
|
|
301
|
+
file_name : typing.Optional[str]
|
|
302
|
+
The name of the file (only for source passages).
|
|
303
|
+
|
|
300
304
|
metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
301
305
|
The metadata of the passage.
|
|
302
306
|
|
|
@@ -342,6 +346,7 @@ class PassagesClient:
|
|
|
342
346
|
"agent_id": passage_update_agent_id,
|
|
343
347
|
"source_id": source_id,
|
|
344
348
|
"file_id": file_id,
|
|
349
|
+
"file_name": file_name,
|
|
345
350
|
"metadata_": metadata,
|
|
346
351
|
"text": text,
|
|
347
352
|
"embedding": embedding,
|
|
@@ -641,6 +646,7 @@ class AsyncPassagesClient:
|
|
|
641
646
|
passage_update_agent_id: typing.Optional[str] = OMIT,
|
|
642
647
|
source_id: typing.Optional[str] = OMIT,
|
|
643
648
|
file_id: typing.Optional[str] = OMIT,
|
|
649
|
+
file_name: typing.Optional[str] = OMIT,
|
|
644
650
|
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
645
651
|
text: typing.Optional[str] = OMIT,
|
|
646
652
|
embedding: typing.Optional[typing.Sequence[float]] = OMIT,
|
|
@@ -683,6 +689,9 @@ class AsyncPassagesClient:
|
|
|
683
689
|
file_id : typing.Optional[str]
|
|
684
690
|
The unique identifier of the file associated with the passage.
|
|
685
691
|
|
|
692
|
+
file_name : typing.Optional[str]
|
|
693
|
+
The name of the file (only for source passages).
|
|
694
|
+
|
|
686
695
|
metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
687
696
|
The metadata of the passage.
|
|
688
697
|
|
|
@@ -736,6 +745,7 @@ class AsyncPassagesClient:
|
|
|
736
745
|
"agent_id": passage_update_agent_id,
|
|
737
746
|
"source_id": source_id,
|
|
738
747
|
"file_id": file_id,
|
|
748
|
+
"file_name": file_name,
|
|
739
749
|
"metadata_": metadata,
|
|
740
750
|
"text": text,
|
|
741
751
|
"embedding": embedding,
|
|
@@ -16,7 +16,7 @@ class BaseClientWrapper:
|
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
17
|
"X-Fern-Language": "Python",
|
|
18
18
|
"X-Fern-SDK-Name": "letta-client",
|
|
19
|
-
"X-Fern-SDK-Version": "0.1.
|
|
19
|
+
"X-Fern-SDK-Version": "0.1.149",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
|
@@ -11,6 +11,7 @@ from ...types.http_validation_error import HttpValidationError
|
|
|
11
11
|
from json.decoder import JSONDecodeError
|
|
12
12
|
from ...core.api_error import ApiError
|
|
13
13
|
from ...types.message_create import MessageCreate
|
|
14
|
+
from ...types.message_type import MessageType
|
|
14
15
|
from ...types.letta_response import LettaResponse
|
|
15
16
|
from ...core.serialization import convert_and_respect_annotation_metadata
|
|
16
17
|
from .types.letta_streaming_response import LettaStreamingResponse
|
|
@@ -129,6 +130,7 @@ class MessagesClient:
|
|
|
129
130
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
130
131
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
131
132
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
133
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
132
134
|
request_options: typing.Optional[RequestOptions] = None,
|
|
133
135
|
) -> LettaResponse:
|
|
134
136
|
"""
|
|
@@ -151,6 +153,9 @@ class MessagesClient:
|
|
|
151
153
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
152
154
|
The name of the message argument in the designated message tool.
|
|
153
155
|
|
|
156
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
157
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
158
|
+
|
|
154
159
|
request_options : typing.Optional[RequestOptions]
|
|
155
160
|
Request-specific configuration.
|
|
156
161
|
|
|
@@ -190,6 +195,7 @@ class MessagesClient:
|
|
|
190
195
|
"use_assistant_message": use_assistant_message,
|
|
191
196
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
192
197
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
198
|
+
"include_return_message_types": include_return_message_types,
|
|
193
199
|
},
|
|
194
200
|
request_options=request_options,
|
|
195
201
|
omit=OMIT,
|
|
@@ -226,6 +232,7 @@ class MessagesClient:
|
|
|
226
232
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
227
233
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
228
234
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
235
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
229
236
|
stream_tokens: typing.Optional[bool] = OMIT,
|
|
230
237
|
request_options: typing.Optional[RequestOptions] = None,
|
|
231
238
|
) -> typing.Iterator[LettaStreamingResponse]:
|
|
@@ -250,6 +257,9 @@ class MessagesClient:
|
|
|
250
257
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
251
258
|
The name of the message argument in the designated message tool.
|
|
252
259
|
|
|
260
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
261
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
262
|
+
|
|
253
263
|
stream_tokens : typing.Optional[bool]
|
|
254
264
|
Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).
|
|
255
265
|
|
|
@@ -294,6 +304,7 @@ class MessagesClient:
|
|
|
294
304
|
"use_assistant_message": use_assistant_message,
|
|
295
305
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
296
306
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
307
|
+
"include_return_message_types": include_return_message_types,
|
|
297
308
|
"stream_tokens": stream_tokens,
|
|
298
309
|
},
|
|
299
310
|
request_options=request_options,
|
|
@@ -577,6 +588,7 @@ class AsyncMessagesClient:
|
|
|
577
588
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
578
589
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
579
590
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
591
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
580
592
|
request_options: typing.Optional[RequestOptions] = None,
|
|
581
593
|
) -> LettaResponse:
|
|
582
594
|
"""
|
|
@@ -599,6 +611,9 @@ class AsyncMessagesClient:
|
|
|
599
611
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
600
612
|
The name of the message argument in the designated message tool.
|
|
601
613
|
|
|
614
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
615
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
616
|
+
|
|
602
617
|
request_options : typing.Optional[RequestOptions]
|
|
603
618
|
Request-specific configuration.
|
|
604
619
|
|
|
@@ -646,6 +661,7 @@ class AsyncMessagesClient:
|
|
|
646
661
|
"use_assistant_message": use_assistant_message,
|
|
647
662
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
648
663
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
664
|
+
"include_return_message_types": include_return_message_types,
|
|
649
665
|
},
|
|
650
666
|
request_options=request_options,
|
|
651
667
|
omit=OMIT,
|
|
@@ -682,6 +698,7 @@ class AsyncMessagesClient:
|
|
|
682
698
|
use_assistant_message: typing.Optional[bool] = OMIT,
|
|
683
699
|
assistant_message_tool_name: typing.Optional[str] = OMIT,
|
|
684
700
|
assistant_message_tool_kwarg: typing.Optional[str] = OMIT,
|
|
701
|
+
include_return_message_types: typing.Optional[typing.Sequence[MessageType]] = OMIT,
|
|
685
702
|
stream_tokens: typing.Optional[bool] = OMIT,
|
|
686
703
|
request_options: typing.Optional[RequestOptions] = None,
|
|
687
704
|
) -> typing.AsyncIterator[LettaStreamingResponse]:
|
|
@@ -706,6 +723,9 @@ class AsyncMessagesClient:
|
|
|
706
723
|
assistant_message_tool_kwarg : typing.Optional[str]
|
|
707
724
|
The name of the message argument in the designated message tool.
|
|
708
725
|
|
|
726
|
+
include_return_message_types : typing.Optional[typing.Sequence[MessageType]]
|
|
727
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
728
|
+
|
|
709
729
|
stream_tokens : typing.Optional[bool]
|
|
710
730
|
Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).
|
|
711
731
|
|
|
@@ -758,6 +778,7 @@ class AsyncMessagesClient:
|
|
|
758
778
|
"use_assistant_message": use_assistant_message,
|
|
759
779
|
"assistant_message_tool_name": assistant_message_tool_name,
|
|
760
780
|
"assistant_message_tool_kwarg": assistant_message_tool_kwarg,
|
|
781
|
+
"include_return_message_types": include_return_message_types,
|
|
761
782
|
"stream_tokens": stream_tokens,
|
|
762
783
|
},
|
|
763
784
|
request_options=request_options,
|
letta_client/types/__init__.py
CHANGED
|
@@ -20,6 +20,7 @@ from .auth_request import AuthRequest
|
|
|
20
20
|
from .auth_response import AuthResponse
|
|
21
21
|
from .auth_scheme_field import AuthSchemeField
|
|
22
22
|
from .bad_request_error_body import BadRequestErrorBody
|
|
23
|
+
from .base_64_image import Base64Image
|
|
23
24
|
from .base_tool_rule_schema import BaseToolRuleSchema
|
|
24
25
|
from .batch_job import BatchJob
|
|
25
26
|
from .block import Block
|
|
@@ -90,6 +91,7 @@ from .embedding_config_embedding_endpoint_type import EmbeddingConfigEmbeddingEn
|
|
|
90
91
|
from .file import File
|
|
91
92
|
from .file_file import FileFile
|
|
92
93
|
from .file_metadata import FileMetadata
|
|
94
|
+
from .file_processing_status import FileProcessingStatus
|
|
93
95
|
from .function_call import FunctionCall
|
|
94
96
|
from .function_definition_input import FunctionDefinitionInput
|
|
95
97
|
from .function_definition_output import FunctionDefinitionOutput
|
|
@@ -105,6 +107,8 @@ from .identity_property import IdentityProperty
|
|
|
105
107
|
from .identity_property_type import IdentityPropertyType
|
|
106
108
|
from .identity_property_value import IdentityPropertyValue
|
|
107
109
|
from .identity_type import IdentityType
|
|
110
|
+
from .image_content import ImageContent
|
|
111
|
+
from .image_content_source import ImageContentSource
|
|
108
112
|
from .image_url import ImageUrl
|
|
109
113
|
from .image_url_detail import ImageUrlDetail
|
|
110
114
|
from .init_tool_rule import InitToolRule
|
|
@@ -119,6 +123,7 @@ from .json_schema import JsonSchema
|
|
|
119
123
|
from .json_schema_response_format import JsonSchemaResponseFormat
|
|
120
124
|
from .letta_batch_messages import LettaBatchMessages
|
|
121
125
|
from .letta_batch_request import LettaBatchRequest
|
|
126
|
+
from .letta_image import LettaImage
|
|
122
127
|
from .letta_message_content_union import LettaMessageContentUnion
|
|
123
128
|
from .letta_message_union import LettaMessageUnion
|
|
124
129
|
from .letta_request import LettaRequest
|
|
@@ -126,6 +131,7 @@ from .letta_request_config import LettaRequestConfig
|
|
|
126
131
|
from .letta_response import LettaResponse
|
|
127
132
|
from .letta_streaming_request import LettaStreamingRequest
|
|
128
133
|
from .letta_usage_statistics import LettaUsageStatistics
|
|
134
|
+
from .letta_user_message_content_union import LettaUserMessageContentUnion
|
|
129
135
|
from .llm_config import LlmConfig
|
|
130
136
|
from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
131
137
|
from .llm_config_reasoning_effort import LlmConfigReasoningEffort
|
|
@@ -143,6 +149,7 @@ from .message_create_content import MessageCreateContent
|
|
|
143
149
|
from .message_create_role import MessageCreateRole
|
|
144
150
|
from .message_role import MessageRole
|
|
145
151
|
from .message_schema import MessageSchema
|
|
152
|
+
from .message_type import MessageType
|
|
146
153
|
from .not_found_error_body import NotFoundErrorBody
|
|
147
154
|
from .not_found_error_body_message import NotFoundErrorBodyMessage
|
|
148
155
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
@@ -220,6 +227,7 @@ from .update_reasoning_message import UpdateReasoningMessage
|
|
|
220
227
|
from .update_system_message import UpdateSystemMessage
|
|
221
228
|
from .update_user_message import UpdateUserMessage
|
|
222
229
|
from .update_user_message_content import UpdateUserMessageContent
|
|
230
|
+
from .url_image import UrlImage
|
|
223
231
|
from .usage_statistics import UsageStatistics
|
|
224
232
|
from .usage_statistics_completion_token_details import UsageStatisticsCompletionTokenDetails
|
|
225
233
|
from .usage_statistics_prompt_token_details import UsageStatisticsPromptTokenDetails
|
|
@@ -258,6 +266,7 @@ __all__ = [
|
|
|
258
266
|
"AuthResponse",
|
|
259
267
|
"AuthSchemeField",
|
|
260
268
|
"BadRequestErrorBody",
|
|
269
|
+
"Base64Image",
|
|
261
270
|
"BaseToolRuleSchema",
|
|
262
271
|
"BatchJob",
|
|
263
272
|
"Block",
|
|
@@ -328,6 +337,7 @@ __all__ = [
|
|
|
328
337
|
"File",
|
|
329
338
|
"FileFile",
|
|
330
339
|
"FileMetadata",
|
|
340
|
+
"FileProcessingStatus",
|
|
331
341
|
"FunctionCall",
|
|
332
342
|
"FunctionDefinitionInput",
|
|
333
343
|
"FunctionDefinitionOutput",
|
|
@@ -343,6 +353,8 @@ __all__ = [
|
|
|
343
353
|
"IdentityPropertyType",
|
|
344
354
|
"IdentityPropertyValue",
|
|
345
355
|
"IdentityType",
|
|
356
|
+
"ImageContent",
|
|
357
|
+
"ImageContentSource",
|
|
346
358
|
"ImageUrl",
|
|
347
359
|
"ImageUrlDetail",
|
|
348
360
|
"InitToolRule",
|
|
@@ -357,6 +369,7 @@ __all__ = [
|
|
|
357
369
|
"JsonSchemaResponseFormat",
|
|
358
370
|
"LettaBatchMessages",
|
|
359
371
|
"LettaBatchRequest",
|
|
372
|
+
"LettaImage",
|
|
360
373
|
"LettaMessageContentUnion",
|
|
361
374
|
"LettaMessageUnion",
|
|
362
375
|
"LettaRequest",
|
|
@@ -364,6 +377,7 @@ __all__ = [
|
|
|
364
377
|
"LettaResponse",
|
|
365
378
|
"LettaStreamingRequest",
|
|
366
379
|
"LettaUsageStatistics",
|
|
380
|
+
"LettaUserMessageContentUnion",
|
|
367
381
|
"LlmConfig",
|
|
368
382
|
"LlmConfigModelEndpointType",
|
|
369
383
|
"LlmConfigReasoningEffort",
|
|
@@ -381,6 +395,7 @@ __all__ = [
|
|
|
381
395
|
"MessageCreateRole",
|
|
382
396
|
"MessageRole",
|
|
383
397
|
"MessageSchema",
|
|
398
|
+
"MessageType",
|
|
384
399
|
"NotFoundErrorBody",
|
|
385
400
|
"NotFoundErrorBodyMessage",
|
|
386
401
|
"OmittedReasoningContent",
|
|
@@ -454,6 +469,7 @@ __all__ = [
|
|
|
454
469
|
"UpdateSystemMessage",
|
|
455
470
|
"UpdateUserMessage",
|
|
456
471
|
"UpdateUserMessageContent",
|
|
472
|
+
"UrlImage",
|
|
457
473
|
"UsageStatistics",
|
|
458
474
|
"UsageStatisticsCompletionTokenDetails",
|
|
459
475
|
"UsageStatisticsPromptTokenDetails",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Base64Image(UncheckedBaseModel):
|
|
10
|
+
type: typing.Literal["base64"] = "base64"
|
|
11
|
+
media_type: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
The media type for the image.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
data: str = pydantic.Field()
|
|
17
|
+
"""
|
|
18
|
+
The base64 encoded image data.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
detail: typing.Optional[str] = pydantic.Field(default=None)
|
|
22
|
+
"""
|
|
23
|
+
What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide)
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
if IS_PYDANTIC_V2:
|
|
27
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
28
|
+
else:
|
|
29
|
+
|
|
30
|
+
class Config:
|
|
31
|
+
frozen = True
|
|
32
|
+
smart_union = True
|
|
33
|
+
extra = pydantic.Extra.allow
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
4
|
import typing
|
|
5
5
|
import pydantic
|
|
6
|
+
from .file_processing_status import FileProcessingStatus
|
|
6
7
|
import datetime as dt
|
|
7
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
9
|
|
|
@@ -52,6 +53,16 @@ class FileMetadata(UncheckedBaseModel):
|
|
|
52
53
|
The last modified date of the file.
|
|
53
54
|
"""
|
|
54
55
|
|
|
56
|
+
processing_status: typing.Optional[FileProcessingStatus] = pydantic.Field(default=None)
|
|
57
|
+
"""
|
|
58
|
+
The current processing status of the file (e.g. pending, parsing, embedding, completed, error).
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
error_message: typing.Optional[str] = pydantic.Field(default=None)
|
|
62
|
+
"""
|
|
63
|
+
Optional error message if the file failed processing.
|
|
64
|
+
"""
|
|
65
|
+
|
|
55
66
|
created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
|
|
56
67
|
"""
|
|
57
68
|
The creation date of the file.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from .image_content_source import ImageContentSource
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ImageContent(UncheckedBaseModel):
|
|
11
|
+
type: typing.Literal["image"] = "image"
|
|
12
|
+
source: ImageContentSource = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
The source of the image.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
if IS_PYDANTIC_V2:
|
|
18
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
19
|
+
else:
|
|
20
|
+
|
|
21
|
+
class Config:
|
|
22
|
+
frozen = True
|
|
23
|
+
smart_union = True
|
|
24
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
from .base_64_image import Base64Image
|
|
5
|
+
from .letta_image import LettaImage
|
|
6
|
+
from .url_image import UrlImage
|
|
7
|
+
|
|
8
|
+
ImageContentSource = typing.Union[Base64Image, LettaImage, UrlImage]
|
|
@@ -4,6 +4,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
4
4
|
import typing
|
|
5
5
|
from .message_create import MessageCreate
|
|
6
6
|
import pydantic
|
|
7
|
+
from .message_type import MessageType
|
|
7
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
9
|
|
|
9
10
|
|
|
@@ -28,6 +29,11 @@ class LettaBatchRequest(UncheckedBaseModel):
|
|
|
28
29
|
The name of the message argument in the designated message tool.
|
|
29
30
|
"""
|
|
30
31
|
|
|
32
|
+
include_return_message_types: typing.Optional[typing.List[MessageType]] = pydantic.Field(default=None)
|
|
33
|
+
"""
|
|
34
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
35
|
+
"""
|
|
36
|
+
|
|
31
37
|
agent_id: str = pydantic.Field()
|
|
32
38
|
"""
|
|
33
39
|
The ID of the agent to send this batch request for
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class LettaImage(UncheckedBaseModel):
|
|
10
|
+
type: typing.Literal["letta"] = "letta"
|
|
11
|
+
file_id: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
The unique identifier of the image file persisted in storage.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
media_type: typing.Optional[str] = pydantic.Field(default=None)
|
|
17
|
+
"""
|
|
18
|
+
The media type for the image.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
data: typing.Optional[str] = pydantic.Field(default=None)
|
|
22
|
+
"""
|
|
23
|
+
The base64 encoded image data.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
detail: typing.Optional[str] = pydantic.Field(default=None)
|
|
27
|
+
"""
|
|
28
|
+
What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide)
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
if IS_PYDANTIC_V2:
|
|
32
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
33
|
+
else:
|
|
34
|
+
|
|
35
|
+
class Config:
|
|
36
|
+
frozen = True
|
|
37
|
+
smart_union = True
|
|
38
|
+
extra = pydantic.Extra.allow
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
from .text_content import TextContent
|
|
5
|
+
from .image_content import ImageContent
|
|
5
6
|
from .tool_call_content import ToolCallContent
|
|
6
7
|
from .reasoning_content import ReasoningContent
|
|
7
8
|
from .redacted_reasoning_content import RedactedReasoningContent
|
|
8
9
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
9
10
|
|
|
10
11
|
LettaMessageContentUnion = typing.Union[
|
|
11
|
-
TextContent, ToolCallContent, ReasoningContent, RedactedReasoningContent, OmittedReasoningContent
|
|
12
|
+
TextContent, ImageContent, ToolCallContent, ReasoningContent, RedactedReasoningContent, OmittedReasoningContent
|
|
12
13
|
]
|
|
@@ -4,6 +4,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
4
4
|
import typing
|
|
5
5
|
from .message_create import MessageCreate
|
|
6
6
|
import pydantic
|
|
7
|
+
from .message_type import MessageType
|
|
7
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
9
|
|
|
9
10
|
|
|
@@ -28,6 +29,11 @@ class LettaRequest(UncheckedBaseModel):
|
|
|
28
29
|
The name of the message argument in the designated message tool.
|
|
29
30
|
"""
|
|
30
31
|
|
|
32
|
+
include_return_message_types: typing.Optional[typing.List[MessageType]] = pydantic.Field(default=None)
|
|
33
|
+
"""
|
|
34
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
35
|
+
"""
|
|
36
|
+
|
|
31
37
|
if IS_PYDANTIC_V2:
|
|
32
38
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
33
39
|
else:
|
|
@@ -4,6 +4,7 @@ from ..core.unchecked_base_model import UncheckedBaseModel
|
|
|
4
4
|
import typing
|
|
5
5
|
from .message_create import MessageCreate
|
|
6
6
|
import pydantic
|
|
7
|
+
from .message_type import MessageType
|
|
7
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
9
|
|
|
9
10
|
|
|
@@ -28,6 +29,11 @@ class LettaStreamingRequest(UncheckedBaseModel):
|
|
|
28
29
|
The name of the message argument in the designated message tool.
|
|
29
30
|
"""
|
|
30
31
|
|
|
32
|
+
include_return_message_types: typing.Optional[typing.List[MessageType]] = pydantic.Field(default=None)
|
|
33
|
+
"""
|
|
34
|
+
Only return specified message types in the response. If `None` (default) returns all messages.
|
|
35
|
+
"""
|
|
36
|
+
|
|
31
37
|
stream_tokens: typing.Optional[bool] = pydantic.Field(default=None)
|
|
32
38
|
"""
|
|
33
39
|
Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
|
+
from .image_content import ImageContent
|
|
4
5
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
5
6
|
from .reasoning_content import ReasoningContent
|
|
6
7
|
from .redacted_reasoning_content import RedactedReasoningContent
|
|
@@ -9,5 +10,11 @@ from .tool_call_content import ToolCallContent
|
|
|
9
10
|
from .tool_return_content import ToolReturnContent
|
|
10
11
|
|
|
11
12
|
MessageContentItem = typing.Union[
|
|
12
|
-
|
|
13
|
+
ImageContent,
|
|
14
|
+
OmittedReasoningContent,
|
|
15
|
+
ReasoningContent,
|
|
16
|
+
RedactedReasoningContent,
|
|
17
|
+
TextContent,
|
|
18
|
+
ToolCallContent,
|
|
19
|
+
ToolReturnContent,
|
|
13
20
|
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
MessageType = typing.Union[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"system_message",
|
|
8
|
+
"user_message",
|
|
9
|
+
"assistant_message",
|
|
10
|
+
"reasoning_message",
|
|
11
|
+
"hidden_reasoning_message",
|
|
12
|
+
"tool_call_message",
|
|
13
|
+
"tool_return_message",
|
|
14
|
+
],
|
|
15
|
+
typing.Any,
|
|
16
|
+
]
|
letta_client/types/passage.py
CHANGED
|
@@ -63,6 +63,11 @@ class Passage(UncheckedBaseModel):
|
|
|
63
63
|
The unique identifier of the file associated with the passage.
|
|
64
64
|
"""
|
|
65
65
|
|
|
66
|
+
file_name: typing.Optional[str] = pydantic.Field(default=None)
|
|
67
|
+
"""
|
|
68
|
+
The name of the file (only for source passages).
|
|
69
|
+
"""
|
|
70
|
+
|
|
66
71
|
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
67
72
|
"""
|
|
68
73
|
The metadata of the passage.
|
letta_client/types/tool_type.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
|
-
from .
|
|
4
|
+
from .letta_user_message_content_union import LettaUserMessageContentUnion
|
|
5
5
|
|
|
6
|
-
UpdateUserMessageContent = typing.Union[typing.List[
|
|
6
|
+
UpdateUserMessageContent = typing.Union[typing.List[LettaUserMessageContentUnion], str]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UrlImage(UncheckedBaseModel):
|
|
10
|
+
type: typing.Literal["url"] = "url"
|
|
11
|
+
url: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
The URL of the image.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
frozen = True
|
|
22
|
+
smart_union = True
|
|
23
|
+
extra = pydantic.Extra.allow
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
|
-
from .
|
|
4
|
+
from .letta_user_message_content_union import LettaUserMessageContentUnion
|
|
5
5
|
|
|
6
|
-
UserMessageContent = typing.Union[typing.List[
|
|
6
|
+
UserMessageContent = typing.Union[typing.List[LettaUserMessageContentUnion], str]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=JjcnkQmIT0tbKf7xZXGOnQrte8vkEi0gfnoiPh15zvw,17210
|
|
2
2
|
letta_client/agents/__init__.py,sha256=3oFWVxaaxkphkjGJVk31Llb9ll9dKoCGx3B_r3qqtes,1716
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=ecE03lE5tP1AtCMFLT9FzdYyQMx_D7NI5m42b41pV40,24684
|
|
@@ -14,13 +14,13 @@ letta_client/agents/memory_variables/client.py,sha256=6qFVbR_tdfqj4HQ1h1HXR8DZCV
|
|
|
14
14
|
letta_client/agents/memory_variables/types/__init__.py,sha256=EoznK0WvhCyFYd4KDdU-cGDQWpSXmq79BSkqVHN-j7A,180
|
|
15
15
|
letta_client/agents/memory_variables/types/memory_variables_list_response.py,sha256=bsF__n_B4ZXEHzg--OVD6tHHXt_aM-FjHm2x1ZXPnL0,599
|
|
16
16
|
letta_client/agents/messages/__init__.py,sha256=M7Ar6Rmb8we4dfYE6jj3FCL9UvVFy1bNQIPflUXMWHA,243
|
|
17
|
-
letta_client/agents/messages/client.py,sha256=
|
|
17
|
+
letta_client/agents/messages/client.py,sha256=D3o0UMIfETFxccLEN2HC6GBYUVBS4XUV2XKSv4i4I_Q,43815
|
|
18
18
|
letta_client/agents/messages/types/__init__.py,sha256=Oc2j0oGOs96IEFf9xsJIkjBjoq3OMtse64YwWv3F9Io,335
|
|
19
19
|
letta_client/agents/messages/types/letta_streaming_response.py,sha256=MdE2PxQ1x1AviakHXsWVcFv97a3RchzzzIiD77w4EC8,665
|
|
20
20
|
letta_client/agents/messages/types/messages_modify_request.py,sha256=7C2X3BKye-YDSXOkdEmxxt34seI4jkLK0-govtc4nhg,475
|
|
21
21
|
letta_client/agents/messages/types/messages_modify_response.py,sha256=THyiUMxZyzVSp0kk1s0XOLW1LUass7mXcfFER1PTLyw,671
|
|
22
22
|
letta_client/agents/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
23
|
-
letta_client/agents/passages/client.py,sha256=
|
|
23
|
+
letta_client/agents/passages/client.py,sha256=wb3_0yseUs9b_hH0BdygvHaSVo9xIkd1wHuRAjRcG1I,26146
|
|
24
24
|
letta_client/agents/sources/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
25
25
|
letta_client/agents/sources/client.py,sha256=VjmiI0L2RyT3AhqstHunapdbzygTBcNGoT1DiFGRg44,12799
|
|
26
26
|
letta_client/agents/templates/__init__.py,sha256=76pikeZpHJRNuNNJum2mSvaXNfrgYnwrq71xx_iHyDU,297
|
|
@@ -62,7 +62,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_create_re
|
|
|
62
62
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item_access_item.py,sha256=R-H25IpNp9feSrW8Yj3h9O3UTMVvFniQJElogKxLuoE,254
|
|
63
63
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
64
64
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
65
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
65
|
+
letta_client/core/client_wrapper.py,sha256=9ZwRTAPVXQ2TBNpLXxKBUEN41XQ0d5N_3PMZfZefwp4,1998
|
|
66
66
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
67
67
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
68
68
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -86,7 +86,7 @@ letta_client/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBR
|
|
|
86
86
|
letta_client/groups/__init__.py,sha256=WzkNp5Q_5zQj_NHv4hJCOKvW6ftM9EuNxw8hkPRRbko,434
|
|
87
87
|
letta_client/groups/client.py,sha256=xcW5PU_2Z4G92Sz9vuZM97xS88lsHlv2STG91Szleow,29893
|
|
88
88
|
letta_client/groups/messages/__init__.py,sha256=M7Ar6Rmb8we4dfYE6jj3FCL9UvVFy1bNQIPflUXMWHA,243
|
|
89
|
-
letta_client/groups/messages/client.py,sha256=
|
|
89
|
+
letta_client/groups/messages/client.py,sha256=yE90vdrP1OJrnGw7Pum1vQ17CUv3Ftomd5F85V-efFA,35178
|
|
90
90
|
letta_client/groups/messages/types/__init__.py,sha256=Oc2j0oGOs96IEFf9xsJIkjBjoq3OMtse64YwWv3F9Io,335
|
|
91
91
|
letta_client/groups/messages/types/letta_streaming_response.py,sha256=MdE2PxQ1x1AviakHXsWVcFv97a3RchzzzIiD77w4EC8,665
|
|
92
92
|
letta_client/groups/messages/types/messages_modify_request.py,sha256=7C2X3BKye-YDSXOkdEmxxt34seI4jkLK0-govtc4nhg,475
|
|
@@ -150,7 +150,7 @@ letta_client/tools/types/add_mcp_server_request.py,sha256=EieZjfOT95sjkpxXdqy7gl
|
|
|
150
150
|
letta_client/tools/types/add_mcp_server_response_item.py,sha256=pb3A4IoP7Qpen0UDDniXrASYEJZWnYnnrZThtPkvZt4,270
|
|
151
151
|
letta_client/tools/types/delete_mcp_server_response_item.py,sha256=hKc4uehqcubO8BzpgMlvk2jJAjHXOWRM_zmWsCz_vZE,273
|
|
152
152
|
letta_client/tools/types/list_mcp_servers_response_value.py,sha256=AIoXu4bO8QNSU7zjL1jj0Rg4313wVtPaTt13W0aevLQ,273
|
|
153
|
-
letta_client/types/__init__.py,sha256=
|
|
153
|
+
letta_client/types/__init__.py,sha256=IxgI0K2iYGDB3_GRq6JkKNtiXEtuLWAxHdaVGBbxyzE,21583
|
|
154
154
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
155
155
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
156
156
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -171,6 +171,7 @@ letta_client/types/auth_request.py,sha256=q63VMj39aCmljDuzUeAClXEqyaoa_HKv5IraSv
|
|
|
171
171
|
letta_client/types/auth_response.py,sha256=jtG9Nn0voJcOWkBtvnuGGwhpUhYz9A8O7soOJZo_E_E,861
|
|
172
172
|
letta_client/types/auth_scheme_field.py,sha256=W4-qgKtKUSpBHaSvjLyzLybOIsGo7Ggk4VECpsoPnqQ,881
|
|
173
173
|
letta_client/types/bad_request_error_body.py,sha256=E4_eWEc9xeW9BkXGViBDrevV8Jf6PjgEweeGS3vJLD4,567
|
|
174
|
+
letta_client/types/base_64_image.py,sha256=RarQnUE-5AnRAZF8W73h6y9K-b6Deq27KnMe93te5Lw,964
|
|
174
175
|
letta_client/types/base_tool_rule_schema.py,sha256=FbnJy6gb8wY_DPiU3Gs-u1Ol_l4K7-nAmPTc1oR3kOo,582
|
|
175
176
|
letta_client/types/batch_job.py,sha256=s7mWlU0m7miuf9BTCTKo1rWidSXXcjJoTnS366lcA1Y,2201
|
|
176
177
|
letta_client/types/block.py,sha256=43aeirQFWcifNrXLjQnfEekQjfodO6DbTQXKjy8gofY,3185
|
|
@@ -240,7 +241,8 @@ letta_client/types/embedding_config.py,sha256=ubGDLn8_H1qOoZUUj6de0MVrQnM2umVR2v
|
|
|
240
241
|
letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=Ho1HSODi21PkzsZR58g7FlIMReFU2yf0hAS5OyUsW6Q,559
|
|
241
242
|
letta_client/types/file.py,sha256=ZLCEYJqIJ1pzAJn4Pke6gVdKivKU9FrIg98P4GmFY8M,628
|
|
242
243
|
letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJruw,665
|
|
243
|
-
letta_client/types/file_metadata.py,sha256=
|
|
244
|
+
letta_client/types/file_metadata.py,sha256=93kCGqz_Hpd-tCfqmXfe8a7pmUckDYrr48hbOGIKqgg,2553
|
|
245
|
+
letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
|
|
244
246
|
letta_client/types/function_call.py,sha256=eE6VYWK3A-2xRrIV-QKqrofvaVFcPNqSzl6lrWnopZA,576
|
|
245
247
|
letta_client/types/function_definition_input.py,sha256=UpoD7ftRpHquJ5zhy28TjXPBVzxj7rOHKv3gX84Nfj8,740
|
|
246
248
|
letta_client/types/function_definition_output.py,sha256=Id0SzyiMHF5l25iKQhCN4sWJwBJ7AkYK-I5RDZy3_rc,741
|
|
@@ -256,6 +258,8 @@ letta_client/types/identity_property.py,sha256=K-e-SVzwIznTAJgMrYKWvEBZmymHzUiAO
|
|
|
256
258
|
letta_client/types/identity_property_type.py,sha256=Ce360UCsjWkX5t1-4HK8_4qiBz1olFGL8gDhuLb2d6Q,183
|
|
257
259
|
letta_client/types/identity_property_value.py,sha256=SQJz97fXG0XHqOGYmYRmHLbI4On3xKmPZhrrkfN8vBs,187
|
|
258
260
|
letta_client/types/identity_type.py,sha256=YeGvqit1VLK7q0GpNuTyfbCxXO7BJjq-hFSiFZexswk,160
|
|
261
|
+
letta_client/types/image_content.py,sha256=A8CwPQVK6t3YZMIMuaeb7TlVeKiwKToUadqXq0MBaWE,735
|
|
262
|
+
letta_client/types/image_content_source.py,sha256=4kCFWRyJzxmhbOVOBvoxiFTmbYPj0FqqgyXXgOE26JE,256
|
|
259
263
|
letta_client/types/image_url.py,sha256=re4N2AsAvOFl2nS6v8jOi3jVFppBs-3zhwpBKHSuCLs,648
|
|
260
264
|
letta_client/types/image_url_detail.py,sha256=YFT9wyf8hqeKhQjRWMv97y-fbU2DB-oCbU5BpUcHWVU,161
|
|
261
265
|
letta_client/types/init_tool_rule.py,sha256=fPQqBigbqZfJXPoXdpBCFlilVYf5p4-t0touyFm_gqE,801
|
|
@@ -269,14 +273,16 @@ letta_client/types/json_object_response_format.py,sha256=kz1wkWKO2H9Ad9GgLzLHgnY
|
|
|
269
273
|
letta_client/types/json_schema.py,sha256=EHcLKBSGRsSzCKTpujKFHylcLJG6ODQIBrjQkU4lWDQ,870
|
|
270
274
|
letta_client/types/json_schema_response_format.py,sha256=vTBC5qyuUm9u1uf1IZmNyEH-wSXm8c_7cOwd7ua_aJw,816
|
|
271
275
|
letta_client/types/letta_batch_messages.py,sha256=kMefbiarujv7hCw3FyU-eVY2RgDV0ZXLOpkOooWNw6g,613
|
|
272
|
-
letta_client/types/letta_batch_request.py,sha256=
|
|
273
|
-
letta_client/types/
|
|
276
|
+
letta_client/types/letta_batch_request.py,sha256=XK_avuNnzzHQh6NMZo7rFOxVL9FSjrnTA5dEaNHs6Gk,1615
|
|
277
|
+
letta_client/types/letta_image.py,sha256=HA__0Gq0BpKHeUUxIT2TmEfyY18F2DrauiGlijWv-HA,1138
|
|
278
|
+
letta_client/types/letta_message_content_union.py,sha256=ypGyeR8PGqPGaAWtLWjDkWwG9oa4AWcL44y-RfLJVvw,540
|
|
274
279
|
letta_client/types/letta_message_union.py,sha256=TTQwlur2CZNdZ466Nb_2TFcSFXrgoMliaNzD33t7Ktw,603
|
|
275
|
-
letta_client/types/letta_request.py,sha256=
|
|
280
|
+
letta_client/types/letta_request.py,sha256=hmF3OCWg-OgdFTyrx6hlnpF279NpAf2llyrlTdq33-4,1501
|
|
276
281
|
letta_client/types/letta_request_config.py,sha256=b6K4QtDdHjcZKfBb1fugUuoPrT2N4d5TTB0PIRNI2SU,1085
|
|
277
282
|
letta_client/types/letta_response.py,sha256=i5gAUTgWzIst_RP8I_zSh0GSnLIS3z--1BmK6EF1mkQ,1315
|
|
278
|
-
letta_client/types/letta_streaming_request.py,sha256=
|
|
283
|
+
letta_client/types/letta_streaming_request.py,sha256=1N-ybBPHAxWquqsnVdHZcHVj_iRZsgo6oprEClvBTzg,1726
|
|
279
284
|
letta_client/types/letta_usage_statistics.py,sha256=k6V72J2TEPd-RQBuUQxF3oylrAMcuSKBskd2nnZmGOw,1886
|
|
285
|
+
letta_client/types/letta_user_message_content_union.py,sha256=3Gbs3mRk-tJj2z0Mf-BNDomWHEytQd3OTUN4xnEVsuE,229
|
|
280
286
|
letta_client/types/llm_config.py,sha256=h22Fiph7-KoLKMgRKKtqqmUZzJwYUe5i02nwfsYluC4,4008
|
|
281
287
|
letta_client/types/llm_config_model_endpoint_type.py,sha256=HOSM5kIZDCNAVCWmASvAk52K819plqGlD66yKQ1xFkI,620
|
|
282
288
|
letta_client/types/llm_config_reasoning_effort.py,sha256=AHL2nI5aeTfPhijnhaL3aiP8EoJhy_Wdupi2pyMm4sA,173
|
|
@@ -288,12 +294,13 @@ letta_client/types/mcp_server_type.py,sha256=Hv45mKMPzmey2UVjwrTAvWXP1sDd13UwAtv
|
|
|
288
294
|
letta_client/types/mcp_tool.py,sha256=_GSTb0k8l-IUEflRkQ6-v45UnbTcA4Nv1N8sgmExJQ0,912
|
|
289
295
|
letta_client/types/memory.py,sha256=Fa07vLHBsc4eNK65Yla2zOuzYhtgFGlnPzAGo9GvJ-c,1210
|
|
290
296
|
letta_client/types/message.py,sha256=xLOrSRBL3GHlEN_aZAVR_ruftSqqDMu3CVnRnB01ZD0,4493
|
|
291
|
-
letta_client/types/message_content_item.py,sha256=
|
|
297
|
+
letta_client/types/message_content_item.py,sha256=FrwERKfU5MpV4Y8LC5ejKFkoqqSV_Ooww-r32VGBbME,629
|
|
292
298
|
letta_client/types/message_create.py,sha256=jgtA2pi59E7Pv37oyGO51wjZyRtfxVpgENXad8fxQqM,1601
|
|
293
299
|
letta_client/types/message_create_content.py,sha256=KL3XAVKVrdsh4DZwdxKofUyehS-vnOT_VJNVzZDpE20,226
|
|
294
300
|
letta_client/types/message_create_role.py,sha256=PWbew2WtK-36P4d3Nuvq4QNLDAPntsGpasS_WzivyXg,172
|
|
295
301
|
letta_client/types/message_role.py,sha256=HKatrA1jt02oTObExloTY3rW8Urzn37kBTg0Z6MbwkQ,186
|
|
296
302
|
letta_client/types/message_schema.py,sha256=i7PLWd92bEltq3bSJam3c74p5zw-WdcoUqazLNmNYAw,955
|
|
303
|
+
letta_client/types/message_type.py,sha256=cEx51Mpt5B4g1QI0QzG81IYS-9lHmTTj_HokHOkJU0M,357
|
|
297
304
|
letta_client/types/not_found_error_body.py,sha256=_1esSlUdkBx6CRs6aAIJrxzh3VZKEG0xzeLbxebBuy0,615
|
|
298
305
|
letta_client/types/not_found_error_body_message.py,sha256=Kc9xrVghgDATdPAGpTPnzyKe6ds5q8Vr6zcBU5lLcH4,309
|
|
299
306
|
letta_client/types/omitted_reasoning_content.py,sha256=gIhWRyVtfB-Jo0Ua3QpyJNag2m_yRpusoPTcZZxjKh0,622
|
|
@@ -306,7 +313,7 @@ letta_client/types/organization_update.py,sha256=uCQAcWm8az3VbMtCEidPBZLh6Qyo4Z0
|
|
|
306
313
|
letta_client/types/parameter_properties.py,sha256=KVQGp_csoiNzyf9XsL083fwlX_a2Tc8GsCKyWB323C8,609
|
|
307
314
|
letta_client/types/parameters_schema.py,sha256=ptXcwjuaCwqRhfizeiWAsu3pqT87Jcj_P3YaEkL4asM,748
|
|
308
315
|
letta_client/types/parent_tool_rule.py,sha256=zPTfn5epS8spEIw71HUbbSX2KYxlIPB-cGJ52UQmQ_M,964
|
|
309
|
-
letta_client/types/passage.py,sha256=
|
|
316
|
+
letta_client/types/passage.py,sha256=k2EGG94WMFA3wsoL6Vd9ax18S2Nk7i_HlXvV5Dw5S4Y,3171
|
|
310
317
|
letta_client/types/payment_required_error_body.py,sha256=CXPzl1jrozG5PAiJakOK29qmgo5az8FQu_MVmEBxsK4,589
|
|
311
318
|
letta_client/types/pip_requirement.py,sha256=Hmh7VpJhdSfFkafh6QwAehCp0MQUBXv1YAoYP-2wV2M,773
|
|
312
319
|
letta_client/types/provider.py,sha256=9xl9T3TjkjpGX0mfH04CtCF0lcdoTmsGT_K16xR3n7M,1476
|
|
@@ -360,20 +367,21 @@ letta_client/types/tool_return_message.py,sha256=xi9bF7ccbfy1cAUvG9NnfiujjtF_Dh1
|
|
|
360
367
|
letta_client/types/tool_return_message_status.py,sha256=FvFOMaG9mnmgnHi2UBQVQQMtHFabbWnQnHTxGUDgVl0,167
|
|
361
368
|
letta_client/types/tool_return_status.py,sha256=TQjwYprn5F_jU9kIbrtiyk7Gw2SjcmFFZLjFbGDpBM0,160
|
|
362
369
|
letta_client/types/tool_schema.py,sha256=q5iRbpiIqWpNvXeDCi7BUyDbQzBKUnTIXEIAujn1bxw,1122
|
|
363
|
-
letta_client/types/tool_type.py,sha256=
|
|
370
|
+
letta_client/types/tool_type.py,sha256=Lrced4b0gDW3IWOhyCPC_dZX6dRUReI8VsutrgRTCzM,459
|
|
364
371
|
letta_client/types/update_assistant_message.py,sha256=D-51o8uXk3X_2Fb2zJ4KoMeRxPiDWaCb3ugRfjBMCTI,878
|
|
365
372
|
letta_client/types/update_assistant_message_content.py,sha256=rh3DP_SpxyBNnf0EDtoaKmPIPV-cXRSFju33NbHgeF0,247
|
|
366
373
|
letta_client/types/update_reasoning_message.py,sha256=2ejxLRNfVDWBfGQG2-A1JNq-DujOfT7AKXCmyH_RApc,650
|
|
367
374
|
letta_client/types/update_system_message.py,sha256=wm2yZUdhRQD5sQhqPiedWZAPECwYvWOvRy1lbALTfCI,779
|
|
368
375
|
letta_client/types/update_user_message.py,sha256=7K0eNqN-ab2v3rR1FW3LLq7IHk6_0C0lv3zhTtthzzs,860
|
|
369
|
-
letta_client/types/update_user_message_content.py,sha256=
|
|
376
|
+
letta_client/types/update_user_message_content.py,sha256=l6yCwYfrp3_5O7QebeqyZ9fcbnbom8Dva3z9dxUrGXE,243
|
|
377
|
+
letta_client/types/url_image.py,sha256=6gVM6Xo9ZJKdy9bzWKbozsA8c010FwOEtFIStnFCLME,653
|
|
370
378
|
letta_client/types/usage_statistics.py,sha256=pks9_EidwQD9gD_bIVxN9JedAbzNCCO6atW7FuvnYsU,1046
|
|
371
379
|
letta_client/types/usage_statistics_completion_token_details.py,sha256=2PypCq-UkJqc3wPVNdenWEBFjD_r5_GbcGxnLH774L4,618
|
|
372
380
|
letta_client/types/usage_statistics_prompt_token_details.py,sha256=c4r4UUIbDI-UO3coX141C9_qCw698E18Zh3emVV3sUA,611
|
|
373
381
|
letta_client/types/user.py,sha256=z_v1uqQ6HYwV_Pp7wDDqS6QWhslHgdUH-AldV-jnmKQ,1349
|
|
374
382
|
letta_client/types/user_create.py,sha256=prQea3xb2-Cm64wv6Y84OfhWNWrA2P8SH5yhUxejzOI,616
|
|
375
383
|
letta_client/types/user_message.py,sha256=WMvZbsXf8APFTQlBrYRyHEzwgRos4ch9SqX1eVS9e4U,1514
|
|
376
|
-
letta_client/types/user_message_content.py,sha256=
|
|
384
|
+
letta_client/types/user_message_content.py,sha256=ffoWJv2X9cwNqxOPTu6B8ABrQppxqMQOvRVAssyTevo,237
|
|
377
385
|
letta_client/types/user_update.py,sha256=0Bl1OjO7bfmlpsGQ36dSh6DH1UB_wJOTNewS0wDLkP4,731
|
|
378
386
|
letta_client/types/validation_error.py,sha256=ACDS7wL5nQbS8ymFhWljwbBJmbugNa8bs2O5xEZC3u4,680
|
|
379
387
|
letta_client/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
@@ -388,6 +396,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
|
|
|
388
396
|
letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
|
|
389
397
|
letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
|
|
390
398
|
letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
|
|
391
|
-
letta_client-0.1.
|
|
392
|
-
letta_client-0.1.
|
|
393
|
-
letta_client-0.1.
|
|
399
|
+
letta_client-0.1.149.dist-info/METADATA,sha256=2DCgKBua_sxkpWGILFIX1qiE9qOMEJoVE4tHPTOw0ck,5093
|
|
400
|
+
letta_client-0.1.149.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
401
|
+
letta_client-0.1.149.dist-info/RECORD,,
|
|
File without changes
|