letta-client 0.1.63__py3-none-any.whl → 0.1.64__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.

@@ -73,7 +73,7 @@ class AgentsClient:
73
73
  project_id: typing.Optional[str] = None,
74
74
  template_id: typing.Optional[str] = None,
75
75
  base_template_id: typing.Optional[str] = None,
76
- identifier_id: typing.Optional[str] = None,
76
+ identity_id: typing.Optional[str] = None,
77
77
  identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
78
78
  request_options: typing.Optional[RequestOptions] = None,
79
79
  ) -> typing.List[AgentState]:
@@ -113,7 +113,7 @@ class AgentsClient:
113
113
  base_template_id : typing.Optional[str]
114
114
  Search agents by base template id
115
115
 
116
- identifier_id : typing.Optional[str]
116
+ identity_id : typing.Optional[str]
117
117
  Search agents by identifier id
118
118
 
119
119
  identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
@@ -150,7 +150,7 @@ class AgentsClient:
150
150
  "project_id": project_id,
151
151
  "template_id": template_id,
152
152
  "base_template_id": base_template_id,
153
- "identifier_id": identifier_id,
153
+ "identity_id": identity_id,
154
154
  "identifier_keys": identifier_keys,
155
155
  },
156
156
  request_options=request_options,
@@ -1142,7 +1142,7 @@ class AsyncAgentsClient:
1142
1142
  project_id: typing.Optional[str] = None,
1143
1143
  template_id: typing.Optional[str] = None,
1144
1144
  base_template_id: typing.Optional[str] = None,
1145
- identifier_id: typing.Optional[str] = None,
1145
+ identity_id: typing.Optional[str] = None,
1146
1146
  identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
1147
1147
  request_options: typing.Optional[RequestOptions] = None,
1148
1148
  ) -> typing.List[AgentState]:
@@ -1182,7 +1182,7 @@ class AsyncAgentsClient:
1182
1182
  base_template_id : typing.Optional[str]
1183
1183
  Search agents by base template id
1184
1184
 
1185
- identifier_id : typing.Optional[str]
1185
+ identity_id : typing.Optional[str]
1186
1186
  Search agents by identifier id
1187
1187
 
1188
1188
  identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
@@ -1227,7 +1227,7 @@ class AsyncAgentsClient:
1227
1227
  "project_id": project_id,
1228
1228
  "template_id": template_id,
1229
1229
  "base_template_id": base_template_id,
1230
- "identifier_id": identifier_id,
1230
+ "identity_id": identity_id,
1231
1231
  "identifier_keys": identifier_keys,
1232
1232
  },
1233
1233
  request_options=request_options,
@@ -27,6 +27,8 @@ class BlocksClient:
27
27
  label: typing.Optional[str] = None,
28
28
  templates_only: typing.Optional[bool] = None,
29
29
  name: typing.Optional[str] = None,
30
+ identity_id: typing.Optional[str] = None,
31
+ identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
30
32
  request_options: typing.Optional[RequestOptions] = None,
31
33
  ) -> typing.List[Block]:
32
34
  """
@@ -41,6 +43,12 @@ class BlocksClient:
41
43
  name : typing.Optional[str]
42
44
  Name of the block
43
45
 
46
+ identity_id : typing.Optional[str]
47
+ Search agents by identifier id
48
+
49
+ identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
50
+ Search agents by identifier keys
51
+
44
52
  request_options : typing.Optional[RequestOptions]
45
53
  Request-specific configuration.
46
54
 
@@ -65,6 +73,8 @@ class BlocksClient:
65
73
  "label": label,
66
74
  "templates_only": templates_only,
67
75
  "name": name,
76
+ "identity_id": identity_id,
77
+ "identifier_keys": identifier_keys,
68
78
  },
69
79
  request_options=request_options,
70
80
  )
@@ -461,6 +471,8 @@ class AsyncBlocksClient:
461
471
  label: typing.Optional[str] = None,
462
472
  templates_only: typing.Optional[bool] = None,
463
473
  name: typing.Optional[str] = None,
474
+ identity_id: typing.Optional[str] = None,
475
+ identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
464
476
  request_options: typing.Optional[RequestOptions] = None,
465
477
  ) -> typing.List[Block]:
466
478
  """
@@ -475,6 +487,12 @@ class AsyncBlocksClient:
475
487
  name : typing.Optional[str]
476
488
  Name of the block
477
489
 
490
+ identity_id : typing.Optional[str]
491
+ Search agents by identifier id
492
+
493
+ identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
494
+ Search agents by identifier keys
495
+
478
496
  request_options : typing.Optional[RequestOptions]
479
497
  Request-specific configuration.
480
498
 
@@ -507,6 +525,8 @@ class AsyncBlocksClient:
507
525
  "label": label,
508
526
  "templates_only": templates_only,
509
527
  "name": name,
528
+ "identity_id": identity_id,
529
+ "identifier_keys": identifier_keys,
510
530
  },
511
531
  request_options=request_options,
512
532
  )
@@ -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.63",
19
+ "X-Fern-SDK-Version": "0.1.64",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -118,6 +118,7 @@ class IdentitiesClient:
118
118
  project: typing.Optional[str] = None,
119
119
  project_id: typing.Optional[str] = OMIT,
120
120
  agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
121
+ block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
121
122
  properties: typing.Optional[typing.Sequence[IdentityProperty]] = OMIT,
122
123
  request_options: typing.Optional[RequestOptions] = None,
123
124
  ) -> Identity:
@@ -141,6 +142,9 @@ class IdentitiesClient:
141
142
  agent_ids : typing.Optional[typing.Sequence[str]]
142
143
  The agent ids that are associated with the identity.
143
144
 
145
+ block_ids : typing.Optional[typing.Sequence[str]]
146
+ The IDs of the blocks associated with the identity.
147
+
144
148
  properties : typing.Optional[typing.Sequence[IdentityProperty]]
145
149
  List of properties associated with the identity.
146
150
 
@@ -174,6 +178,7 @@ class IdentitiesClient:
174
178
  "identity_type": identity_type,
175
179
  "project_id": project_id,
176
180
  "agent_ids": agent_ids,
181
+ "block_ids": block_ids,
177
182
  "properties": convert_and_respect_annotation_metadata(
178
183
  object_=properties, annotation=typing.Sequence[IdentityProperty], direction="write"
179
184
  ),
@@ -217,6 +222,7 @@ class IdentitiesClient:
217
222
  project: typing.Optional[str] = None,
218
223
  project_id: typing.Optional[str] = OMIT,
219
224
  agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
225
+ block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
220
226
  properties: typing.Optional[typing.Sequence[IdentityProperty]] = OMIT,
221
227
  request_options: typing.Optional[RequestOptions] = None,
222
228
  ) -> Identity:
@@ -240,6 +246,9 @@ class IdentitiesClient:
240
246
  agent_ids : typing.Optional[typing.Sequence[str]]
241
247
  The agent ids that are associated with the identity.
242
248
 
249
+ block_ids : typing.Optional[typing.Sequence[str]]
250
+ The IDs of the blocks associated with the identity.
251
+
243
252
  properties : typing.Optional[typing.Sequence[IdentityProperty]]
244
253
  List of properties associated with the identity.
245
254
 
@@ -273,6 +282,7 @@ class IdentitiesClient:
273
282
  "identity_type": identity_type,
274
283
  "project_id": project_id,
275
284
  "agent_ids": agent_ids,
285
+ "block_ids": block_ids,
276
286
  "properties": convert_and_respect_annotation_metadata(
277
287
  object_=properties, annotation=typing.Sequence[IdentityProperty], direction="write"
278
288
  ),
@@ -427,6 +437,7 @@ class IdentitiesClient:
427
437
  name: typing.Optional[str] = OMIT,
428
438
  identity_type: typing.Optional[IdentityType] = OMIT,
429
439
  agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
440
+ block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
430
441
  properties: typing.Optional[typing.Sequence[IdentityProperty]] = OMIT,
431
442
  request_options: typing.Optional[RequestOptions] = None,
432
443
  ) -> Identity:
@@ -447,6 +458,9 @@ class IdentitiesClient:
447
458
  agent_ids : typing.Optional[typing.Sequence[str]]
448
459
  The agent ids that are associated with the identity.
449
460
 
461
+ block_ids : typing.Optional[typing.Sequence[str]]
462
+ The IDs of the blocks associated with the identity.
463
+
450
464
  properties : typing.Optional[typing.Sequence[IdentityProperty]]
451
465
  List of properties associated with the identity.
452
466
 
@@ -477,6 +491,7 @@ class IdentitiesClient:
477
491
  "name": name,
478
492
  "identity_type": identity_type,
479
493
  "agent_ids": agent_ids,
494
+ "block_ids": block_ids,
480
495
  "properties": convert_and_respect_annotation_metadata(
481
496
  object_=properties, annotation=typing.Sequence[IdentityProperty], direction="write"
482
497
  ),
@@ -619,6 +634,7 @@ class AsyncIdentitiesClient:
619
634
  project: typing.Optional[str] = None,
620
635
  project_id: typing.Optional[str] = OMIT,
621
636
  agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
637
+ block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
622
638
  properties: typing.Optional[typing.Sequence[IdentityProperty]] = OMIT,
623
639
  request_options: typing.Optional[RequestOptions] = None,
624
640
  ) -> Identity:
@@ -642,6 +658,9 @@ class AsyncIdentitiesClient:
642
658
  agent_ids : typing.Optional[typing.Sequence[str]]
643
659
  The agent ids that are associated with the identity.
644
660
 
661
+ block_ids : typing.Optional[typing.Sequence[str]]
662
+ The IDs of the blocks associated with the identity.
663
+
645
664
  properties : typing.Optional[typing.Sequence[IdentityProperty]]
646
665
  List of properties associated with the identity.
647
666
 
@@ -683,6 +702,7 @@ class AsyncIdentitiesClient:
683
702
  "identity_type": identity_type,
684
703
  "project_id": project_id,
685
704
  "agent_ids": agent_ids,
705
+ "block_ids": block_ids,
686
706
  "properties": convert_and_respect_annotation_metadata(
687
707
  object_=properties, annotation=typing.Sequence[IdentityProperty], direction="write"
688
708
  ),
@@ -726,6 +746,7 @@ class AsyncIdentitiesClient:
726
746
  project: typing.Optional[str] = None,
727
747
  project_id: typing.Optional[str] = OMIT,
728
748
  agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
749
+ block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
729
750
  properties: typing.Optional[typing.Sequence[IdentityProperty]] = OMIT,
730
751
  request_options: typing.Optional[RequestOptions] = None,
731
752
  ) -> Identity:
@@ -749,6 +770,9 @@ class AsyncIdentitiesClient:
749
770
  agent_ids : typing.Optional[typing.Sequence[str]]
750
771
  The agent ids that are associated with the identity.
751
772
 
773
+ block_ids : typing.Optional[typing.Sequence[str]]
774
+ The IDs of the blocks associated with the identity.
775
+
752
776
  properties : typing.Optional[typing.Sequence[IdentityProperty]]
753
777
  List of properties associated with the identity.
754
778
 
@@ -790,6 +814,7 @@ class AsyncIdentitiesClient:
790
814
  "identity_type": identity_type,
791
815
  "project_id": project_id,
792
816
  "agent_ids": agent_ids,
817
+ "block_ids": block_ids,
793
818
  "properties": convert_and_respect_annotation_metadata(
794
819
  object_=properties, annotation=typing.Sequence[IdentityProperty], direction="write"
795
820
  ),
@@ -960,6 +985,7 @@ class AsyncIdentitiesClient:
960
985
  name: typing.Optional[str] = OMIT,
961
986
  identity_type: typing.Optional[IdentityType] = OMIT,
962
987
  agent_ids: typing.Optional[typing.Sequence[str]] = OMIT,
988
+ block_ids: typing.Optional[typing.Sequence[str]] = OMIT,
963
989
  properties: typing.Optional[typing.Sequence[IdentityProperty]] = OMIT,
964
990
  request_options: typing.Optional[RequestOptions] = None,
965
991
  ) -> Identity:
@@ -980,6 +1006,9 @@ class AsyncIdentitiesClient:
980
1006
  agent_ids : typing.Optional[typing.Sequence[str]]
981
1007
  The agent ids that are associated with the identity.
982
1008
 
1009
+ block_ids : typing.Optional[typing.Sequence[str]]
1010
+ The IDs of the blocks associated with the identity.
1011
+
983
1012
  properties : typing.Optional[typing.Sequence[IdentityProperty]]
984
1013
  List of properties associated with the identity.
985
1014
 
@@ -1018,6 +1047,7 @@ class AsyncIdentitiesClient:
1018
1047
  "name": name,
1019
1048
  "identity_type": identity_type,
1020
1049
  "agent_ids": agent_ids,
1050
+ "block_ids": block_ids,
1021
1051
  "properties": convert_and_respect_annotation_metadata(
1022
1052
  object_=properties, annotation=typing.Sequence[IdentityProperty], direction="write"
1023
1053
  ),
@@ -39,6 +39,11 @@ class Identity(UncheckedBaseModel):
39
39
  The IDs of the agents associated with the identity.
40
40
  """
41
41
 
42
+ block_ids: typing.List[str] = pydantic.Field()
43
+ """
44
+ The IDs of the blocks associated with the identity.
45
+ """
46
+
42
47
  properties: typing.Optional[typing.List[IdentityProperty]] = pydantic.Field(default=None)
43
48
  """
44
49
  List of properties associated with the identity
@@ -34,6 +34,11 @@ class IdentityCreate(UncheckedBaseModel):
34
34
  The agent ids that are associated with the identity.
35
35
  """
36
36
 
37
+ block_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
38
+ """
39
+ The IDs of the blocks associated with the identity.
40
+ """
41
+
37
42
  properties: typing.Optional[typing.List[IdentityProperty]] = pydantic.Field(default=None)
38
43
  """
39
44
  List of properties associated with the identity.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.63
3
+ Version: 0.1.64
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -2,7 +2,7 @@ letta_client/__init__.py,sha256=XI9aEKVo3wgE4dLFMArNCIkEgdcjYyesSas1J-MoOBg,5722
2
2
  letta_client/agents/__init__.py,sha256=ePMwPIgzTgDIbCr1wR1Zch36fvKau2B1mOFmjt47CsE,22440
3
3
  letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  letta_client/agents/blocks/client.py,sha256=u5zvutxoH_DqfSLWhRtNSRBC9_ezQDx682cxkxDz3JA,23822
5
- letta_client/agents/client.py,sha256=l4gSRAlc7U8eadadb5SJXA4Iy_XTT_Sf4dGsLmCp0ss,83839
5
+ letta_client/agents/client.py,sha256=oBd6K7pVbztBqvQ-cNEj2NxlZeviLKtEdHFZ5qtf9UQ,83823
6
6
  letta_client/agents/context/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
7
7
  letta_client/agents/context/client.py,sha256=GKKvoG4N_K8Biz9yDjeIHpFG0C8Cwc7tHmEX3pTL_9U,4815
8
8
  letta_client/agents/core_memory/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -206,11 +206,11 @@ letta_client/agents/types/create_agent_request_tool_rules_item.py,sha256=GsXAkmp
206
206
  letta_client/agents/types/update_agent_tool_rules_item.py,sha256=gCA9oFxIWEcbVV5Z85hL0RYjmRNYwfVrYmj6BFGlGTQ,489
207
207
  letta_client/base_client.py,sha256=ZD62gkVcq-3piS6Az6L9yM9vD1kssEdtK3c0pHoRWMI,8395
208
208
  letta_client/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
209
- letta_client/blocks/client.py,sha256=AeQQ-IdYhV-zqLTt3PTrJOtJ6XtBZcXNC108Y5EogVU,29178
209
+ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw,30082
210
210
  letta_client/client.py,sha256=xdSrD4IkWokZHujowd1r7zESBoVgKGNvo6RqgZ3f0Fg,12808
211
211
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
212
212
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
213
- letta_client/core/client_wrapper.py,sha256=sZG-Iql_hgMC1tRDjObc29XNdDfrEEnTUNgUsGSpXX0,1997
213
+ letta_client/core/client_wrapper.py,sha256=Y1MRTfajLT_JBHozlJ6yBKiA5UsXD2lq1mhr1zYVBoo,1997
214
214
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
215
215
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
216
216
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -230,7 +230,7 @@ letta_client/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBR
230
230
  letta_client/health/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
231
231
  letta_client/health/client.py,sha256=6BjXH83ZhsLt_MD4QA2hiTsvgfeIgxMT1KSN0Oj6e1I,3242
232
232
  letta_client/identities/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
233
- letta_client/identities/client.py,sha256=6EbK-7f6kMyEAyKMEkdR6qwXbRf_0TCrDKcIKYVQbq4,34364
233
+ letta_client/identities/client.py,sha256=NPlSrWArxHUnJU_mfUky5tpFyKxqlnFPPlXsWb7C54o,35732
234
234
  letta_client/jobs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
235
235
  letta_client/jobs/client.py,sha256=z1Zq6dGs2xbf3EAFuD3-m-qbpbUeqpCBYqtIFKkGoMk,15622
236
236
  letta_client/models/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -509,8 +509,8 @@ letta_client/types/function_output.py,sha256=7b8550BllXxtZQ3T3jfvZjcCU_ZGWNBvjlr
509
509
  letta_client/types/function_tool.py,sha256=TOETpZdqgPIgd4g9JFo3yvDBpTx4lDFzJNZH8PxAjpI,697
510
510
  letta_client/types/health.py,sha256=nQwx5ysn_cJMKUoqsfaPcGNSRSjfwX5S272UiSQJ03w,618
511
511
  letta_client/types/http_validation_error.py,sha256=yHa4_NHIMB-VKNZpk7agjLTwWIg7mv7ml3d7I-Bqiog,661
512
- letta_client/types/identity.py,sha256=9wSW-1tIYMgoyU2U3opFN1KlOoDSjgTNvKloZp1LDCM,1467
513
- letta_client/types/identity_create.py,sha256=pIufW5mmbJadPwBSG2eH1yACu6YScVClZNLZWPsFlWY,1385
512
+ letta_client/types/identity.py,sha256=ODegiJaCyiFFfYd177v-hRdJBnIwbCQImB9U_fk4s4E,1591
513
+ letta_client/types/identity_create.py,sha256=QuYCfc7dL5aHQqRIt6SlOV00bWyeMouxpKiY3Wx10o0,1538
514
514
  letta_client/types/identity_property.py,sha256=K-e-SVzwIznTAJgMrYKWvEBZmymHzUiAOql4Da7BX7o,981
515
515
  letta_client/types/identity_property_type.py,sha256=Ce360UCsjWkX5t1-4HK8_4qiBz1olFGL8gDhuLb2d6Q,183
516
516
  letta_client/types/identity_property_value.py,sha256=SQJz97fXG0XHqOGYmYRmHLbI4On3xKmPZhrrkfN8vBs,187
@@ -605,6 +605,6 @@ letta_client/voice/__init__.py,sha256=ZrZEuXIukVGhsfM-i0dIFfqjeSOBMPeEgDva7Vvnip
605
605
  letta_client/voice/client.py,sha256=O38dLq__WTwLPlFTtvw1hgqaPYK9alds_ft12Bnp5fs,6475
606
606
  letta_client/voice/types/__init__.py,sha256=hBLJcrom99DkDxxsVRU2ni8kPx6SsCy8gtAJvNOz26w,199
607
607
  letta_client/voice/types/create_voice_chat_completions_request.py,sha256=K4__83rXRCshfdobyAmH-5fUDJQ_PeSQetTUeC4Abk0,381
608
- letta_client-0.1.63.dist-info/METADATA,sha256=JRIw6nSLb5gyGcXJjO8EdyD6TvhrDW50ZCRSas3rzO8,4942
609
- letta_client-0.1.63.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
610
- letta_client-0.1.63.dist-info/RECORD,,
608
+ letta_client-0.1.64.dist-info/METADATA,sha256=DFP4jwTN3m08CVvZQnt9fNL_n8KJQf8j-INI7TiG4eQ,4942
609
+ letta_client-0.1.64.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
610
+ letta_client-0.1.64.dist-info/RECORD,,