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

@@ -176,7 +176,7 @@ class PassagesClient:
176
176
  created_at: typing.Optional[dt.datetime] = OMIT,
177
177
  updated_at: typing.Optional[dt.datetime] = OMIT,
178
178
  is_deleted: typing.Optional[bool] = OMIT,
179
- passage_update_agent_id: typing.Optional[str] = OMIT,
179
+ archive_id: typing.Optional[str] = OMIT,
180
180
  source_id: typing.Optional[str] = OMIT,
181
181
  file_id: typing.Optional[str] = OMIT,
182
182
  file_name: typing.Optional[str] = OMIT,
@@ -213,8 +213,8 @@ class PassagesClient:
213
213
  is_deleted : typing.Optional[bool]
214
214
  Whether this passage is deleted or not.
215
215
 
216
- passage_update_agent_id : typing.Optional[str]
217
- The unique identifier of the agent associated with the passage.
216
+ archive_id : typing.Optional[str]
217
+ The unique identifier of the archive containing this passage.
218
218
 
219
219
  source_id : typing.Optional[str]
220
220
  The data source of the passage.
@@ -268,7 +268,7 @@ class PassagesClient:
268
268
  created_at=created_at,
269
269
  updated_at=updated_at,
270
270
  is_deleted=is_deleted,
271
- passage_update_agent_id=passage_update_agent_id,
271
+ archive_id=archive_id,
272
272
  source_id=source_id,
273
273
  file_id=file_id,
274
274
  file_name=file_name,
@@ -468,7 +468,7 @@ class AsyncPassagesClient:
468
468
  created_at: typing.Optional[dt.datetime] = OMIT,
469
469
  updated_at: typing.Optional[dt.datetime] = OMIT,
470
470
  is_deleted: typing.Optional[bool] = OMIT,
471
- passage_update_agent_id: typing.Optional[str] = OMIT,
471
+ archive_id: typing.Optional[str] = OMIT,
472
472
  source_id: typing.Optional[str] = OMIT,
473
473
  file_id: typing.Optional[str] = OMIT,
474
474
  file_name: typing.Optional[str] = OMIT,
@@ -505,8 +505,8 @@ class AsyncPassagesClient:
505
505
  is_deleted : typing.Optional[bool]
506
506
  Whether this passage is deleted or not.
507
507
 
508
- passage_update_agent_id : typing.Optional[str]
509
- The unique identifier of the agent associated with the passage.
508
+ archive_id : typing.Optional[str]
509
+ The unique identifier of the archive containing this passage.
510
510
 
511
511
  source_id : typing.Optional[str]
512
512
  The data source of the passage.
@@ -568,7 +568,7 @@ class AsyncPassagesClient:
568
568
  created_at=created_at,
569
569
  updated_at=updated_at,
570
570
  is_deleted=is_deleted,
571
- passage_update_agent_id=passage_update_agent_id,
571
+ archive_id=archive_id,
572
572
  source_id=source_id,
573
573
  file_id=file_id,
574
574
  file_name=file_name,
@@ -226,7 +226,7 @@ class RawPassagesClient:
226
226
  created_at: typing.Optional[dt.datetime] = OMIT,
227
227
  updated_at: typing.Optional[dt.datetime] = OMIT,
228
228
  is_deleted: typing.Optional[bool] = OMIT,
229
- passage_update_agent_id: typing.Optional[str] = OMIT,
229
+ archive_id: typing.Optional[str] = OMIT,
230
230
  source_id: typing.Optional[str] = OMIT,
231
231
  file_id: typing.Optional[str] = OMIT,
232
232
  file_name: typing.Optional[str] = OMIT,
@@ -263,8 +263,8 @@ class RawPassagesClient:
263
263
  is_deleted : typing.Optional[bool]
264
264
  Whether this passage is deleted or not.
265
265
 
266
- passage_update_agent_id : typing.Optional[str]
267
- The unique identifier of the agent associated with the passage.
266
+ archive_id : typing.Optional[str]
267
+ The unique identifier of the archive containing this passage.
268
268
 
269
269
  source_id : typing.Optional[str]
270
270
  The data source of the passage.
@@ -304,7 +304,7 @@ class RawPassagesClient:
304
304
  "created_at": created_at,
305
305
  "updated_at": updated_at,
306
306
  "is_deleted": is_deleted,
307
- "agent_id": passage_update_agent_id,
307
+ "archive_id": archive_id,
308
308
  "source_id": source_id,
309
309
  "file_id": file_id,
310
310
  "file_name": file_name,
@@ -555,7 +555,7 @@ class AsyncRawPassagesClient:
555
555
  created_at: typing.Optional[dt.datetime] = OMIT,
556
556
  updated_at: typing.Optional[dt.datetime] = OMIT,
557
557
  is_deleted: typing.Optional[bool] = OMIT,
558
- passage_update_agent_id: typing.Optional[str] = OMIT,
558
+ archive_id: typing.Optional[str] = OMIT,
559
559
  source_id: typing.Optional[str] = OMIT,
560
560
  file_id: typing.Optional[str] = OMIT,
561
561
  file_name: typing.Optional[str] = OMIT,
@@ -592,8 +592,8 @@ class AsyncRawPassagesClient:
592
592
  is_deleted : typing.Optional[bool]
593
593
  Whether this passage is deleted or not.
594
594
 
595
- passage_update_agent_id : typing.Optional[str]
596
- The unique identifier of the agent associated with the passage.
595
+ archive_id : typing.Optional[str]
596
+ The unique identifier of the archive containing this passage.
597
597
 
598
598
  source_id : typing.Optional[str]
599
599
  The data source of the passage.
@@ -633,7 +633,7 @@ class AsyncRawPassagesClient:
633
633
  "created_at": created_at,
634
634
  "updated_at": updated_at,
635
635
  "is_deleted": is_deleted,
636
- "agent_id": passage_update_agent_id,
636
+ "archive_id": archive_id,
637
637
  "source_id": source_id,
638
638
  "file_id": file_id,
639
639
  "file_name": file_name,
@@ -24,10 +24,10 @@ class BaseClientWrapper:
24
24
 
25
25
  def get_headers(self) -> typing.Dict[str, str]:
26
26
  headers: typing.Dict[str, str] = {
27
- "User-Agent": "letta-client/0.1.236",
27
+ "User-Agent": "letta-client/0.1.238",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.236",
30
+ "X-Fern-SDK-Version": "0.1.238",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -18,8 +18,8 @@ class Passage(UncheckedBaseModel):
18
18
  embedding (List[float]): The embedding of the passage.
19
19
  embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
20
20
  created_at (datetime): The creation date of the passage.
21
- user_id (str): The unique identifier of the user associated with the passage.
22
- agent_id (str): The unique identifier of the agent associated with the passage.
21
+ organization_id (str): The unique identifier of the organization associated with the passage.
22
+ archive_id (str): The unique identifier of the archive containing this passage.
23
23
  source_id (str): The data source of the passage.
24
24
  file_id (str): The unique identifier of the file associated with the passage.
25
25
  """
@@ -49,9 +49,9 @@ class Passage(UncheckedBaseModel):
49
49
  Whether this passage is deleted or not.
50
50
  """
51
51
 
52
- agent_id: typing.Optional[str] = pydantic.Field(default=None)
52
+ archive_id: typing.Optional[str] = pydantic.Field(default=None)
53
53
  """
54
- The unique identifier of the agent associated with the passage.
54
+ The unique identifier of the archive containing this passage.
55
55
  """
56
56
 
57
57
  source_id: typing.Optional[str] = pydantic.Field(default=None)
@@ -13,6 +13,7 @@ ToolType = typing.Union[
13
13
  "letta_builtin",
14
14
  "letta_files_core",
15
15
  "external_composio",
16
+ "external_langchain",
16
17
  "external_mcp",
17
18
  ],
18
19
  typing.Any,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.236
3
+ Version: 0.1.238
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -33,8 +33,8 @@ letta_client/agents/messages/types/messages_modify_request.py,sha256=0NT3pgbqQIt
33
33
  letta_client/agents/messages/types/messages_modify_response.py,sha256=1ZCFf0V0QSwtTPLp2qP-SMXVtgnRqg551G2ImXdECDo,672
34
34
  letta_client/agents/messages/types/messages_preview_raw_payload_request.py,sha256=ncI14H-30FLJujezUyk2yS7Jfqf7TqqhcWejWXQ4pcE,283
35
35
  letta_client/agents/passages/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
36
- letta_client/agents/passages/client.py,sha256=PUyT8sbJMu3FAlBzSYE77XiLfcAXKHwvJYLdrz896VQ,16893
37
- letta_client/agents/passages/raw_client.py,sha256=pPZnVLan1B1ATYKBVFW73k7MrpaNzWehBGoNOI7vgkQ,25788
36
+ letta_client/agents/passages/client.py,sha256=XHPpqOH2BDjHkegTRM9MRdDVxW5VH40ERSFvWchWT48,16785
37
+ letta_client/agents/passages/raw_client.py,sha256=TnNrFsnrexrPVmemkFbRIBfFMcq1Iap2qk23L7mr1Z0,25710
38
38
  letta_client/agents/raw_client.py,sha256=9mxxHLSJFn8R_dXe8zDWvJgyUqvz82Nsjf5pNhuqibg,88825
39
39
  letta_client/agents/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
40
40
  letta_client/agents/sources/client.py,sha256=lCqB6FF9svrwf0oZSFs41WKlMXc-YRhUeb4FZkHbicM,6868
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
92
92
  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
93
93
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
94
94
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
95
- letta_client/core/client_wrapper.py,sha256=FYTaeCcr5GA858Wf3tFW08sWI-ko3h3c9tdoFQd9R9M,2776
95
+ letta_client/core/client_wrapper.py,sha256=ZtFYnMusLqIyxAl3RQ-yZ2OBHEcCofGXzjHU8-iL0tA,2776
96
96
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
97
97
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
98
98
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -404,7 +404,7 @@ letta_client/types/organization_update.py,sha256=ysej4hr_dVeCt-oYTWSZOpPuhp-GRUh
404
404
  letta_client/types/parameter_properties.py,sha256=bDVR3EsnqLvKidHyYpDYJnD66p5jueA-5_v_Ckc1apo,610
405
405
  letta_client/types/parameters_schema.py,sha256=GVeAO7gTpvMsOWoIELwbC2M-j8k11hpsxxJz_yx36kg,749
406
406
  letta_client/types/parent_tool_rule.py,sha256=UKTLrRUeNI8TwTmwUsvBurbpLZKsoqF-7ZIOag_OiZM,1134
407
- letta_client/types/passage.py,sha256=g6JDo9asKGNPUrezPxZ2Imc6Qe3R-5BFcXe4IJM7NJY,3172
407
+ letta_client/types/passage.py,sha256=pyn_N8tvPib65pxl1wvP9cqxOHTMejGbiv7ALLg36ZE,3188
408
408
  letta_client/types/payment_required_error_body.py,sha256=ODQ2fA8EF1Y_pfZocseOg1Ryyj9WfgjS5QeSC7WTIbc,590
409
409
  letta_client/types/pip_requirement.py,sha256=A9mFgoz-yAlVHsy8vljtYdtJInfN7qL1JePPaPuTr2Y,774
410
410
  letta_client/types/provider.py,sha256=FKHoorSxHMht9xor4TAG7OOhcxZyOHDLa2GN70m2P4U,1753
@@ -467,7 +467,7 @@ letta_client/types/tool_return_message.py,sha256=OUv0DALpyj3GyFGBWYX-w-EWZMwEJea
467
467
  letta_client/types/tool_return_message_status.py,sha256=FvFOMaG9mnmgnHi2UBQVQQMtHFabbWnQnHTxGUDgVl0,167
468
468
  letta_client/types/tool_return_status.py,sha256=TQjwYprn5F_jU9kIbrtiyk7Gw2SjcmFFZLjFbGDpBM0,160
469
469
  letta_client/types/tool_schema.py,sha256=mAhiX0aTTttYsT_SjJVr4TctBlJ2hsyNmxIwAq_PKmo,1123
470
- letta_client/types/tool_type.py,sha256=7-NJ8qxobvVnM9Rqr08i-klynRS5ha-HoVevXUS8aUs,429
470
+ letta_client/types/tool_type.py,sha256=Lrced4b0gDW3IWOhyCPC_dZX6dRUReI8VsutrgRTCzM,459
471
471
  letta_client/types/update_assistant_message.py,sha256=M8Ltqt8YdOFdge7ahLm-7bPeccXwyq_sHI-WgY1IcyA,879
472
472
  letta_client/types/update_assistant_message_content.py,sha256=kAStjnVa0o4YeuDgqMnAd5Jcq1Yhnxhlk7gplV0JohQ,248
473
473
  letta_client/types/update_reasoning_message.py,sha256=shpVxOnD7jbOYrwTm68vUw1ieEi7RcIuJeTseY9v8WE,651
@@ -498,6 +498,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
498
498
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
499
499
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
500
500
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
501
- letta_client-0.1.236.dist-info/METADATA,sha256=83tIv_LyDsX5dB6_PzzhHy2eFYlAlW1UzYX3P_1zQKg,5781
502
- letta_client-0.1.236.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
503
- letta_client-0.1.236.dist-info/RECORD,,
501
+ letta_client-0.1.238.dist-info/METADATA,sha256=r9SKuvM9B52k-f3S6CGbKNXsE8yaD0q-WqfOzSPP0M8,5781
502
+ letta_client-0.1.238.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
503
+ letta_client-0.1.238.dist-info/RECORD,,