letta-client 0.1.222__py3-none-any.whl → 0.1.224__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/agents/blocks/client.py +10 -0
- letta_client/agents/client.py +6 -20
- letta_client/blocks/client.py +30 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/groups/client.py +20 -0
- letta_client/types/block.py +5 -0
- letta_client/types/block_update.py +5 -0
- letta_client/types/create_block.py +5 -0
- letta_client/types/file_block.py +5 -0
- letta_client/types/group.py +5 -0
- {letta_client-0.1.222.dist-info → letta_client-0.1.224.dist-info}/METADATA +1 -1
- {letta_client-0.1.222.dist-info → letta_client-0.1.224.dist-info}/RECORD +13 -13
- {letta_client-0.1.222.dist-info → letta_client-0.1.224.dist-info}/WHEEL +0 -0
|
@@ -90,6 +90,7 @@ class BlocksClient:
|
|
|
90
90
|
*,
|
|
91
91
|
value: typing.Optional[str] = OMIT,
|
|
92
92
|
limit: typing.Optional[int] = OMIT,
|
|
93
|
+
project_id: typing.Optional[str] = OMIT,
|
|
93
94
|
name: typing.Optional[str] = OMIT,
|
|
94
95
|
is_template: typing.Optional[bool] = OMIT,
|
|
95
96
|
preserve_on_migration: typing.Optional[bool] = OMIT,
|
|
@@ -114,6 +115,9 @@ class BlocksClient:
|
|
|
114
115
|
limit : typing.Optional[int]
|
|
115
116
|
Character limit of the block.
|
|
116
117
|
|
|
118
|
+
project_id : typing.Optional[str]
|
|
119
|
+
The associated project id.
|
|
120
|
+
|
|
117
121
|
name : typing.Optional[str]
|
|
118
122
|
Name of the block if it is a template.
|
|
119
123
|
|
|
@@ -162,6 +166,7 @@ class BlocksClient:
|
|
|
162
166
|
json={
|
|
163
167
|
"value": value,
|
|
164
168
|
"limit": limit,
|
|
169
|
+
"project_id": project_id,
|
|
165
170
|
"name": name,
|
|
166
171
|
"is_template": is_template,
|
|
167
172
|
"preserve_on_migration": preserve_on_migration,
|
|
@@ -460,6 +465,7 @@ class AsyncBlocksClient:
|
|
|
460
465
|
*,
|
|
461
466
|
value: typing.Optional[str] = OMIT,
|
|
462
467
|
limit: typing.Optional[int] = OMIT,
|
|
468
|
+
project_id: typing.Optional[str] = OMIT,
|
|
463
469
|
name: typing.Optional[str] = OMIT,
|
|
464
470
|
is_template: typing.Optional[bool] = OMIT,
|
|
465
471
|
preserve_on_migration: typing.Optional[bool] = OMIT,
|
|
@@ -484,6 +490,9 @@ class AsyncBlocksClient:
|
|
|
484
490
|
limit : typing.Optional[int]
|
|
485
491
|
Character limit of the block.
|
|
486
492
|
|
|
493
|
+
project_id : typing.Optional[str]
|
|
494
|
+
The associated project id.
|
|
495
|
+
|
|
487
496
|
name : typing.Optional[str]
|
|
488
497
|
Name of the block if it is a template.
|
|
489
498
|
|
|
@@ -540,6 +549,7 @@ class AsyncBlocksClient:
|
|
|
540
549
|
json={
|
|
541
550
|
"value": value,
|
|
542
551
|
"limit": limit,
|
|
552
|
+
"project_id": project_id,
|
|
543
553
|
"name": name,
|
|
544
554
|
"is_template": is_template,
|
|
545
555
|
"preserve_on_migration": preserve_on_migration,
|
letta_client/agents/client.py
CHANGED
|
@@ -1027,7 +1027,7 @@ class AgentsClient:
|
|
|
1027
1027
|
|
|
1028
1028
|
def summarize_agent_conversation(
|
|
1029
1029
|
self, agent_id: str, *, max_message_length: int, request_options: typing.Optional[RequestOptions] = None
|
|
1030
|
-
) ->
|
|
1030
|
+
) -> None:
|
|
1031
1031
|
"""
|
|
1032
1032
|
Summarize an agent's conversation history to a target message length.
|
|
1033
1033
|
|
|
@@ -1046,8 +1046,7 @@ class AgentsClient:
|
|
|
1046
1046
|
|
|
1047
1047
|
Returns
|
|
1048
1048
|
-------
|
|
1049
|
-
|
|
1050
|
-
Successful Response
|
|
1049
|
+
None
|
|
1051
1050
|
|
|
1052
1051
|
Examples
|
|
1053
1052
|
--------
|
|
@@ -1072,13 +1071,7 @@ class AgentsClient:
|
|
|
1072
1071
|
)
|
|
1073
1072
|
try:
|
|
1074
1073
|
if 200 <= _response.status_code < 300:
|
|
1075
|
-
return
|
|
1076
|
-
AgentState,
|
|
1077
|
-
construct_type(
|
|
1078
|
-
type_=AgentState, # type: ignore
|
|
1079
|
-
object_=_response.json(),
|
|
1080
|
-
),
|
|
1081
|
-
)
|
|
1074
|
+
return
|
|
1082
1075
|
if _response.status_code == 422:
|
|
1083
1076
|
raise UnprocessableEntityError(
|
|
1084
1077
|
typing.cast(
|
|
@@ -2216,7 +2209,7 @@ class AsyncAgentsClient:
|
|
|
2216
2209
|
|
|
2217
2210
|
async def summarize_agent_conversation(
|
|
2218
2211
|
self, agent_id: str, *, max_message_length: int, request_options: typing.Optional[RequestOptions] = None
|
|
2219
|
-
) ->
|
|
2212
|
+
) -> None:
|
|
2220
2213
|
"""
|
|
2221
2214
|
Summarize an agent's conversation history to a target message length.
|
|
2222
2215
|
|
|
@@ -2235,8 +2228,7 @@ class AsyncAgentsClient:
|
|
|
2235
2228
|
|
|
2236
2229
|
Returns
|
|
2237
2230
|
-------
|
|
2238
|
-
|
|
2239
|
-
Successful Response
|
|
2231
|
+
None
|
|
2240
2232
|
|
|
2241
2233
|
Examples
|
|
2242
2234
|
--------
|
|
@@ -2269,13 +2261,7 @@ class AsyncAgentsClient:
|
|
|
2269
2261
|
)
|
|
2270
2262
|
try:
|
|
2271
2263
|
if 200 <= _response.status_code < 300:
|
|
2272
|
-
return
|
|
2273
|
-
AgentState,
|
|
2274
|
-
construct_type(
|
|
2275
|
-
type_=AgentState, # type: ignore
|
|
2276
|
-
object_=_response.json(),
|
|
2277
|
-
),
|
|
2278
|
-
)
|
|
2264
|
+
return
|
|
2279
2265
|
if _response.status_code == 422:
|
|
2280
2266
|
raise UnprocessableEntityError(
|
|
2281
2267
|
typing.cast(
|
letta_client/blocks/client.py
CHANGED
|
@@ -31,6 +31,7 @@ class BlocksClient:
|
|
|
31
31
|
name: typing.Optional[str] = None,
|
|
32
32
|
identity_id: typing.Optional[str] = None,
|
|
33
33
|
identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
34
|
+
project_id: typing.Optional[str] = None,
|
|
34
35
|
limit: typing.Optional[int] = None,
|
|
35
36
|
request_options: typing.Optional[RequestOptions] = None,
|
|
36
37
|
) -> typing.List[Block]:
|
|
@@ -52,6 +53,9 @@ class BlocksClient:
|
|
|
52
53
|
identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
53
54
|
Search agents by identifier keys
|
|
54
55
|
|
|
56
|
+
project_id : typing.Optional[str]
|
|
57
|
+
Search blocks by project id
|
|
58
|
+
|
|
55
59
|
limit : typing.Optional[int]
|
|
56
60
|
Number of blocks to return
|
|
57
61
|
|
|
@@ -82,6 +86,7 @@ class BlocksClient:
|
|
|
82
86
|
"name": name,
|
|
83
87
|
"identity_id": identity_id,
|
|
84
88
|
"identifier_keys": identifier_keys,
|
|
89
|
+
"project_id": project_id,
|
|
85
90
|
"limit": limit,
|
|
86
91
|
},
|
|
87
92
|
request_options=request_options,
|
|
@@ -116,6 +121,7 @@ class BlocksClient:
|
|
|
116
121
|
value: str,
|
|
117
122
|
label: str,
|
|
118
123
|
limit: typing.Optional[int] = OMIT,
|
|
124
|
+
project_id: typing.Optional[str] = OMIT,
|
|
119
125
|
name: typing.Optional[str] = OMIT,
|
|
120
126
|
is_template: typing.Optional[bool] = OMIT,
|
|
121
127
|
preserve_on_migration: typing.Optional[bool] = OMIT,
|
|
@@ -136,6 +142,9 @@ class BlocksClient:
|
|
|
136
142
|
limit : typing.Optional[int]
|
|
137
143
|
Character limit of the block.
|
|
138
144
|
|
|
145
|
+
project_id : typing.Optional[str]
|
|
146
|
+
The associated project id.
|
|
147
|
+
|
|
139
148
|
name : typing.Optional[str]
|
|
140
149
|
Name of the block if it is a template.
|
|
141
150
|
|
|
@@ -180,6 +189,7 @@ class BlocksClient:
|
|
|
180
189
|
json={
|
|
181
190
|
"value": value,
|
|
182
191
|
"limit": limit,
|
|
192
|
+
"project_id": project_id,
|
|
183
193
|
"name": name,
|
|
184
194
|
"is_template": is_template,
|
|
185
195
|
"preserve_on_migration": preserve_on_migration,
|
|
@@ -386,6 +396,7 @@ class BlocksClient:
|
|
|
386
396
|
*,
|
|
387
397
|
value: typing.Optional[str] = OMIT,
|
|
388
398
|
limit: typing.Optional[int] = OMIT,
|
|
399
|
+
project_id: typing.Optional[str] = OMIT,
|
|
389
400
|
name: typing.Optional[str] = OMIT,
|
|
390
401
|
is_template: typing.Optional[bool] = OMIT,
|
|
391
402
|
preserve_on_migration: typing.Optional[bool] = OMIT,
|
|
@@ -406,6 +417,9 @@ class BlocksClient:
|
|
|
406
417
|
limit : typing.Optional[int]
|
|
407
418
|
Character limit of the block.
|
|
408
419
|
|
|
420
|
+
project_id : typing.Optional[str]
|
|
421
|
+
The associated project id.
|
|
422
|
+
|
|
409
423
|
name : typing.Optional[str]
|
|
410
424
|
Name of the block if it is a template.
|
|
411
425
|
|
|
@@ -453,6 +467,7 @@ class BlocksClient:
|
|
|
453
467
|
json={
|
|
454
468
|
"value": value,
|
|
455
469
|
"limit": limit,
|
|
470
|
+
"project_id": project_id,
|
|
456
471
|
"name": name,
|
|
457
472
|
"is_template": is_template,
|
|
458
473
|
"preserve_on_migration": preserve_on_migration,
|
|
@@ -502,6 +517,7 @@ class AsyncBlocksClient:
|
|
|
502
517
|
name: typing.Optional[str] = None,
|
|
503
518
|
identity_id: typing.Optional[str] = None,
|
|
504
519
|
identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
520
|
+
project_id: typing.Optional[str] = None,
|
|
505
521
|
limit: typing.Optional[int] = None,
|
|
506
522
|
request_options: typing.Optional[RequestOptions] = None,
|
|
507
523
|
) -> typing.List[Block]:
|
|
@@ -523,6 +539,9 @@ class AsyncBlocksClient:
|
|
|
523
539
|
identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
524
540
|
Search agents by identifier keys
|
|
525
541
|
|
|
542
|
+
project_id : typing.Optional[str]
|
|
543
|
+
Search blocks by project id
|
|
544
|
+
|
|
526
545
|
limit : typing.Optional[int]
|
|
527
546
|
Number of blocks to return
|
|
528
547
|
|
|
@@ -561,6 +580,7 @@ class AsyncBlocksClient:
|
|
|
561
580
|
"name": name,
|
|
562
581
|
"identity_id": identity_id,
|
|
563
582
|
"identifier_keys": identifier_keys,
|
|
583
|
+
"project_id": project_id,
|
|
564
584
|
"limit": limit,
|
|
565
585
|
},
|
|
566
586
|
request_options=request_options,
|
|
@@ -595,6 +615,7 @@ class AsyncBlocksClient:
|
|
|
595
615
|
value: str,
|
|
596
616
|
label: str,
|
|
597
617
|
limit: typing.Optional[int] = OMIT,
|
|
618
|
+
project_id: typing.Optional[str] = OMIT,
|
|
598
619
|
name: typing.Optional[str] = OMIT,
|
|
599
620
|
is_template: typing.Optional[bool] = OMIT,
|
|
600
621
|
preserve_on_migration: typing.Optional[bool] = OMIT,
|
|
@@ -615,6 +636,9 @@ class AsyncBlocksClient:
|
|
|
615
636
|
limit : typing.Optional[int]
|
|
616
637
|
Character limit of the block.
|
|
617
638
|
|
|
639
|
+
project_id : typing.Optional[str]
|
|
640
|
+
The associated project id.
|
|
641
|
+
|
|
618
642
|
name : typing.Optional[str]
|
|
619
643
|
Name of the block if it is a template.
|
|
620
644
|
|
|
@@ -667,6 +691,7 @@ class AsyncBlocksClient:
|
|
|
667
691
|
json={
|
|
668
692
|
"value": value,
|
|
669
693
|
"limit": limit,
|
|
694
|
+
"project_id": project_id,
|
|
670
695
|
"name": name,
|
|
671
696
|
"is_template": is_template,
|
|
672
697
|
"preserve_on_migration": preserve_on_migration,
|
|
@@ -897,6 +922,7 @@ class AsyncBlocksClient:
|
|
|
897
922
|
*,
|
|
898
923
|
value: typing.Optional[str] = OMIT,
|
|
899
924
|
limit: typing.Optional[int] = OMIT,
|
|
925
|
+
project_id: typing.Optional[str] = OMIT,
|
|
900
926
|
name: typing.Optional[str] = OMIT,
|
|
901
927
|
is_template: typing.Optional[bool] = OMIT,
|
|
902
928
|
preserve_on_migration: typing.Optional[bool] = OMIT,
|
|
@@ -917,6 +943,9 @@ class AsyncBlocksClient:
|
|
|
917
943
|
limit : typing.Optional[int]
|
|
918
944
|
Character limit of the block.
|
|
919
945
|
|
|
946
|
+
project_id : typing.Optional[str]
|
|
947
|
+
The associated project id.
|
|
948
|
+
|
|
920
949
|
name : typing.Optional[str]
|
|
921
950
|
Name of the block if it is a template.
|
|
922
951
|
|
|
@@ -972,6 +1001,7 @@ class AsyncBlocksClient:
|
|
|
972
1001
|
json={
|
|
973
1002
|
"value": value,
|
|
974
1003
|
"limit": limit,
|
|
1004
|
+
"project_id": project_id,
|
|
975
1005
|
"name": name,
|
|
976
1006
|
"is_template": is_template,
|
|
977
1007
|
"preserve_on_migration": preserve_on_migration,
|
|
@@ -24,7 +24,7 @@ class BaseClientWrapper:
|
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
25
|
"X-Fern-Language": "Python",
|
|
26
26
|
"X-Fern-SDK-Name": "letta-client",
|
|
27
|
-
"X-Fern-SDK-Version": "0.1.
|
|
27
|
+
"X-Fern-SDK-Version": "0.1.224",
|
|
28
28
|
}
|
|
29
29
|
if self._project is not None:
|
|
30
30
|
headers["X-Project"] = self._project
|
letta_client/groups/client.py
CHANGED
|
@@ -117,6 +117,7 @@ class GroupsClient:
|
|
|
117
117
|
agent_ids: typing.Sequence[str],
|
|
118
118
|
description: str,
|
|
119
119
|
manager_config: typing.Optional[GroupCreateManagerConfig] = OMIT,
|
|
120
|
+
project_id: typing.Optional[str] = OMIT,
|
|
120
121
|
shared_block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
121
122
|
request_options: typing.Optional[RequestOptions] = None,
|
|
122
123
|
) -> Group:
|
|
@@ -134,6 +135,9 @@ class GroupsClient:
|
|
|
134
135
|
manager_config : typing.Optional[GroupCreateManagerConfig]
|
|
135
136
|
|
|
136
137
|
|
|
138
|
+
project_id : typing.Optional[str]
|
|
139
|
+
The associated project id.
|
|
140
|
+
|
|
137
141
|
shared_block_ids : typing.Optional[typing.Sequence[str]]
|
|
138
142
|
|
|
139
143
|
|
|
@@ -167,6 +171,7 @@ class GroupsClient:
|
|
|
167
171
|
"manager_config": convert_and_respect_annotation_metadata(
|
|
168
172
|
object_=manager_config, annotation=GroupCreateManagerConfig, direction="write"
|
|
169
173
|
),
|
|
174
|
+
"project_id": project_id,
|
|
170
175
|
"shared_block_ids": shared_block_ids,
|
|
171
176
|
},
|
|
172
177
|
headers={
|
|
@@ -375,6 +380,7 @@ class GroupsClient:
|
|
|
375
380
|
agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
376
381
|
description: typing.Optional[str] = OMIT,
|
|
377
382
|
manager_config: typing.Optional[GroupUpdateManagerConfig] = OMIT,
|
|
383
|
+
project_id: typing.Optional[str] = OMIT,
|
|
378
384
|
shared_block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
379
385
|
request_options: typing.Optional[RequestOptions] = None,
|
|
380
386
|
) -> Group:
|
|
@@ -394,6 +400,9 @@ class GroupsClient:
|
|
|
394
400
|
manager_config : typing.Optional[GroupUpdateManagerConfig]
|
|
395
401
|
|
|
396
402
|
|
|
403
|
+
project_id : typing.Optional[str]
|
|
404
|
+
The associated project id.
|
|
405
|
+
|
|
397
406
|
shared_block_ids : typing.Optional[typing.Sequence[str]]
|
|
398
407
|
|
|
399
408
|
|
|
@@ -426,6 +435,7 @@ class GroupsClient:
|
|
|
426
435
|
"manager_config": convert_and_respect_annotation_metadata(
|
|
427
436
|
object_=manager_config, annotation=GroupUpdateManagerConfig, direction="write"
|
|
428
437
|
),
|
|
438
|
+
"project_id": project_id,
|
|
429
439
|
"shared_block_ids": shared_block_ids,
|
|
430
440
|
},
|
|
431
441
|
headers={
|
|
@@ -562,6 +572,7 @@ class AsyncGroupsClient:
|
|
|
562
572
|
agent_ids: typing.Sequence[str],
|
|
563
573
|
description: str,
|
|
564
574
|
manager_config: typing.Optional[GroupCreateManagerConfig] = OMIT,
|
|
575
|
+
project_id: typing.Optional[str] = OMIT,
|
|
565
576
|
shared_block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
566
577
|
request_options: typing.Optional[RequestOptions] = None,
|
|
567
578
|
) -> Group:
|
|
@@ -579,6 +590,9 @@ class AsyncGroupsClient:
|
|
|
579
590
|
manager_config : typing.Optional[GroupCreateManagerConfig]
|
|
580
591
|
|
|
581
592
|
|
|
593
|
+
project_id : typing.Optional[str]
|
|
594
|
+
The associated project id.
|
|
595
|
+
|
|
582
596
|
shared_block_ids : typing.Optional[typing.Sequence[str]]
|
|
583
597
|
|
|
584
598
|
|
|
@@ -620,6 +634,7 @@ class AsyncGroupsClient:
|
|
|
620
634
|
"manager_config": convert_and_respect_annotation_metadata(
|
|
621
635
|
object_=manager_config, annotation=GroupCreateManagerConfig, direction="write"
|
|
622
636
|
),
|
|
637
|
+
"project_id": project_id,
|
|
623
638
|
"shared_block_ids": shared_block_ids,
|
|
624
639
|
},
|
|
625
640
|
headers={
|
|
@@ -852,6 +867,7 @@ class AsyncGroupsClient:
|
|
|
852
867
|
agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
853
868
|
description: typing.Optional[str] = OMIT,
|
|
854
869
|
manager_config: typing.Optional[GroupUpdateManagerConfig] = OMIT,
|
|
870
|
+
project_id: typing.Optional[str] = OMIT,
|
|
855
871
|
shared_block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
856
872
|
request_options: typing.Optional[RequestOptions] = None,
|
|
857
873
|
) -> Group:
|
|
@@ -871,6 +887,9 @@ class AsyncGroupsClient:
|
|
|
871
887
|
manager_config : typing.Optional[GroupUpdateManagerConfig]
|
|
872
888
|
|
|
873
889
|
|
|
890
|
+
project_id : typing.Optional[str]
|
|
891
|
+
The associated project id.
|
|
892
|
+
|
|
874
893
|
shared_block_ids : typing.Optional[typing.Sequence[str]]
|
|
875
894
|
|
|
876
895
|
|
|
@@ -911,6 +930,7 @@ class AsyncGroupsClient:
|
|
|
911
930
|
"manager_config": convert_and_respect_annotation_metadata(
|
|
912
931
|
object_=manager_config, annotation=GroupUpdateManagerConfig, direction="write"
|
|
913
932
|
),
|
|
933
|
+
"project_id": project_id,
|
|
914
934
|
"shared_block_ids": shared_block_ids,
|
|
915
935
|
},
|
|
916
936
|
headers={
|
letta_client/types/block.py
CHANGED
|
@@ -32,6 +32,11 @@ class Block(UncheckedBaseModel):
|
|
|
32
32
|
Character limit of the block.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
36
|
+
"""
|
|
37
|
+
The associated project id.
|
|
38
|
+
"""
|
|
39
|
+
|
|
35
40
|
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
36
41
|
"""
|
|
37
42
|
Name of the block if it is a template.
|
|
@@ -21,6 +21,11 @@ class BlockUpdate(UncheckedBaseModel):
|
|
|
21
21
|
Character limit of the block.
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
25
|
+
"""
|
|
26
|
+
The associated project id.
|
|
27
|
+
"""
|
|
28
|
+
|
|
24
29
|
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
25
30
|
"""
|
|
26
31
|
Name of the block if it is a template.
|
|
@@ -21,6 +21,11 @@ class CreateBlock(UncheckedBaseModel):
|
|
|
21
21
|
Character limit of the block.
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
25
|
+
"""
|
|
26
|
+
The associated project id.
|
|
27
|
+
"""
|
|
28
|
+
|
|
24
29
|
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
25
30
|
"""
|
|
26
31
|
Name of the block if it is a template.
|
letta_client/types/file_block.py
CHANGED
|
@@ -18,6 +18,11 @@ class FileBlock(UncheckedBaseModel):
|
|
|
18
18
|
Character limit of the block.
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
22
|
+
"""
|
|
23
|
+
The associated project id.
|
|
24
|
+
"""
|
|
25
|
+
|
|
21
26
|
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
22
27
|
"""
|
|
23
28
|
Name of the block if it is a template.
|
letta_client/types/group.py
CHANGED
|
@@ -28,6 +28,11 @@ class Group(UncheckedBaseModel):
|
|
|
28
28
|
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
+
project_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
The associated project id.
|
|
34
|
+
"""
|
|
35
|
+
|
|
31
36
|
shared_block_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
32
37
|
"""
|
|
33
38
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
letta_client/__init__.py,sha256=SHGQJZEiJUN0sO7ZVdwwTenizJTldEs9YqrB-ux8vCk,19484
|
|
2
2
|
letta_client/agents/__init__.py,sha256=9wEJMighDL1OFg_7Qh-D50bubPbV4BWo1ZKYxdDJGIQ,2146
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
|
-
letta_client/agents/blocks/client.py,sha256=
|
|
5
|
-
letta_client/agents/client.py,sha256=
|
|
4
|
+
letta_client/agents/blocks/client.py,sha256=kCAcU1ACOKRCrjEYPyCQslWBjtsq7m4QboQP0wwLQy8,25392
|
|
5
|
+
letta_client/agents/client.py,sha256=JlqySzI58BivgE_nP66kjAoKEiphgDuIhbGeQa2weF4,92037
|
|
6
6
|
letta_client/agents/context/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
7
7
|
letta_client/agents/context/client.py,sha256=O1gxStQyfzXi4MblatWalLTWM425gS_fndW3W_es08U,4887
|
|
8
8
|
letta_client/agents/core_memory/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
@@ -57,7 +57,7 @@ letta_client/batches/client.py,sha256=DHnsRYHgxVh6OvfAE8etlbno1FMg4cIzAYiydJrfmJ
|
|
|
57
57
|
letta_client/blocks/__init__.py,sha256=c6SGOs9_YGdydYAzhe5TUiaXq52rpWT1mNMcke8qGTQ,108
|
|
58
58
|
letta_client/blocks/agents/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
59
59
|
letta_client/blocks/agents/client.py,sha256=2mBOt6CZanLUi_8Nc-bthaGoKhU3WgSA9vL1UjMdZE8,6066
|
|
60
|
-
letta_client/blocks/client.py,sha256=
|
|
60
|
+
letta_client/blocks/client.py,sha256=dkF-SBlCuWUye5IY18c9fD9_OIPO1H8wVDRmAgDar7U,33351
|
|
61
61
|
letta_client/client.py,sha256=iXqKTuQ0F9jIjkTwD73apLlLQqUF1IF6V_PhenY_CJo,22470
|
|
62
62
|
letta_client/client_side_access_tokens/__init__.py,sha256=e9NgxUsEnfbJVCM2npPuQ02dAS5jlXmneqU9DS6Q3d8,1561
|
|
63
63
|
letta_client/client_side_access_tokens/client.py,sha256=5aiqgKkzXElPgJszjyT-1wPRsBziH32UJwPVGQdZOFg,18215
|
|
@@ -75,7 +75,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
75
75
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy_data_item_access_item.py,sha256=kNHfEWFl7u71Pu8NPqutod0a2NXfvq8il05Hqm0iBB4,284
|
|
76
76
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
77
77
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
78
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
78
|
+
letta_client/core/client_wrapper.py,sha256=xSoUSJswIYwHXAHKAT7yDaEoUmNqKq707H1hsvj6AKw,2336
|
|
79
79
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
80
80
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
81
81
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -103,7 +103,7 @@ letta_client/folders/files/client.py,sha256=oSEduN6Q9iw13aRpc2Mm8LxD06tHxJqnBNUM
|
|
|
103
103
|
letta_client/folders/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
104
104
|
letta_client/folders/passages/client.py,sha256=ejEUmwrwfUBG4UihNTrIk7b1-a1v6QziRggL_BgcrZw,6041
|
|
105
105
|
letta_client/groups/__init__.py,sha256=WzkNp5Q_5zQj_NHv4hJCOKvW6ftM9EuNxw8hkPRRbko,434
|
|
106
|
-
letta_client/groups/client.py,sha256=
|
|
106
|
+
letta_client/groups/client.py,sha256=H6PW_E2QUX_hfoa5aunu90KEU1sF5d4xpTL1hxZFifU,30369
|
|
107
107
|
letta_client/groups/messages/__init__.py,sha256=M7Ar6Rmb8we4dfYE6jj3FCL9UvVFy1bNQIPflUXMWHA,243
|
|
108
108
|
letta_client/groups/messages/client.py,sha256=lK8P1J3ETHxdsS8zbdNnxagVSef03Z_tLiqQiEXq6t0,36386
|
|
109
109
|
letta_client/groups/messages/types/__init__.py,sha256=Oc2j0oGOs96IEFf9xsJIkjBjoq3OMtse64YwWv3F9Io,335
|
|
@@ -203,8 +203,8 @@ letta_client/types/bad_request_error_body.py,sha256=E4_eWEc9xeW9BkXGViBDrevV8Jf6
|
|
|
203
203
|
letta_client/types/base_64_image.py,sha256=RarQnUE-5AnRAZF8W73h6y9K-b6Deq27KnMe93te5Lw,964
|
|
204
204
|
letta_client/types/base_tool_rule_schema.py,sha256=FbnJy6gb8wY_DPiU3Gs-u1Ol_l4K7-nAmPTc1oR3kOo,582
|
|
205
205
|
letta_client/types/batch_job.py,sha256=MIycCFHvBeVqSoi4WX_L_MPI92jnq-x4-F5XnHw-sYg,2364
|
|
206
|
-
letta_client/types/block.py,sha256=
|
|
207
|
-
letta_client/types/block_update.py,sha256=
|
|
206
|
+
letta_client/types/block.py,sha256=7lWUsOoXKA4GyY9VYKq2UcQrUD3lq-EF8EScOBaGThs,3301
|
|
207
|
+
letta_client/types/block_update.py,sha256=zoGWquhG6M2rH_kwK85eQL4NLB3fErmzkp574VZsAVE,1897
|
|
208
208
|
letta_client/types/chat_completion_assistant_message_param.py,sha256=QwxAJ9RQqxtZKnt6g6RfDppuMIt-1RAIlpnfSrVdHgg,1219
|
|
209
209
|
letta_client/types/chat_completion_assistant_message_param_content.py,sha256=CJ7Z_Jik2fzBYGy0UuvgDk0aLt3-Xpj3qswBLmWM0Sg,323
|
|
210
210
|
letta_client/types/chat_completion_assistant_message_param_content_item.py,sha256=tF-E0jNH0ilRJgm4vPTqHguCb-TZZ0LJfTXxOnon23w,405
|
|
@@ -263,7 +263,7 @@ letta_client/types/conflict_error_body.py,sha256=Mena-q1jti6nv_7-xrp6sDb_5MXNKPG
|
|
|
263
263
|
letta_client/types/context_window_overview.py,sha256=9pwiObSxu-SFyQ1pxSTlQiRatVAyFgqa6t0_qrrsGfU,2815
|
|
264
264
|
letta_client/types/continue_tool_rule.py,sha256=cGKyCh9LwxXJfWKEi8HMAcyBv3QTrmZkwt9YugzwtqY,1035
|
|
265
265
|
letta_client/types/core_memory_block_schema.py,sha256=DGHyLAcFhHBm7oXkhkGIkkckcl9S2bCaU9b3qrUeNtc,984
|
|
266
|
-
letta_client/types/create_block.py,sha256=
|
|
266
|
+
letta_client/types/create_block.py,sha256=jco0Hpi2UQu4FkALpizz6rfW0isQo7H1AwKoZSVv-eY,1678
|
|
267
267
|
letta_client/types/duplicate_file_handling.py,sha256=H7pDhPZSSbnqPHPo2yGl7xkpHAD9L0yZOdcU5n-9BdE,172
|
|
268
268
|
letta_client/types/dynamic_manager.py,sha256=5DRNqtUnjeTwOe5mkNB-SXItqLOfEX0avSrwsrJt1Aw,853
|
|
269
269
|
letta_client/types/dynamic_manager_update.py,sha256=Kew94BsFP6vP9pUXpZDMFZAo3TyaYWKu1KPgoQQjKYg,888
|
|
@@ -272,7 +272,7 @@ letta_client/types/embedding_config.py,sha256=47DxstNToHfirYxgIn4jNqkt8vDh5taRu6
|
|
|
272
272
|
letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=9-C0KAbQbi2nm5ECDmKVbeqyCbBB6w6Izy5vXvMBAXA,579
|
|
273
273
|
letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI7eDkoQ,160
|
|
274
274
|
letta_client/types/file.py,sha256=ZLCEYJqIJ1pzAJn4Pke6gVdKivKU9FrIg98P4GmFY8M,628
|
|
275
|
-
letta_client/types/file_block.py,sha256=
|
|
275
|
+
letta_client/types/file_block.py,sha256=HSfMx6SpCpQv2vdIiqqZ0oxfZoHPquxuU-AG0QtrW-k,2776
|
|
276
276
|
letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJruw,665
|
|
277
277
|
letta_client/types/file_metadata.py,sha256=51abJ_M4dmpRJetdWcMf_P39l3EaJ1R2kjuexzEWwMI,2957
|
|
278
278
|
letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
|
|
@@ -285,7 +285,7 @@ letta_client/types/function_output.py,sha256=7b8550BllXxtZQ3T3jfvZjcCU_ZGWNBvjlr
|
|
|
285
285
|
letta_client/types/function_tool.py,sha256=TOETpZdqgPIgd4g9JFo3yvDBpTx4lDFzJNZH8PxAjpI,697
|
|
286
286
|
letta_client/types/generate_tool_input.py,sha256=6_r00rctGxSa1mNDEFCwAc2JOXlmf9BO_rIG7ZksB4Q,1095
|
|
287
287
|
letta_client/types/generate_tool_output.py,sha256=y22000DeKje2FwSaLEXorLfmnrqFE1QbBrQ3nFIWULE,860
|
|
288
|
-
letta_client/types/group.py,sha256=
|
|
288
|
+
letta_client/types/group.py,sha256=_szcUZN3fUOu_2-KnG3r8ptx8H9bOmeQlcQPig6nxMg,2222
|
|
289
289
|
letta_client/types/health.py,sha256=nQwx5ysn_cJMKUoqsfaPcGNSRSjfwX5S272UiSQJ03w,618
|
|
290
290
|
letta_client/types/hidden_reasoning_message.py,sha256=FrzJv12sgz6W5VWk74q2jX6UaqB_MItqhDYuUCozPTE,1610
|
|
291
291
|
letta_client/types/hidden_reasoning_message_state.py,sha256=qotAgF_P4T7OEHzbhGDVFaLZYOs1ULMPVHmiFvoRIfM,174
|
|
@@ -445,6 +445,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
|
|
|
445
445
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
446
446
|
letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
447
447
|
letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
|
|
448
|
-
letta_client-0.1.
|
|
449
|
-
letta_client-0.1.
|
|
450
|
-
letta_client-0.1.
|
|
448
|
+
letta_client-0.1.224.dist-info/METADATA,sha256=vWY5btWhUxfgAemsZCMFxzK2SDhykSCQkkJAHABYCT8,5177
|
|
449
|
+
letta_client-0.1.224.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
450
|
+
letta_client-0.1.224.dist-info/RECORD,,
|
|
File without changes
|