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

@@ -513,6 +513,7 @@ class AgentsClient:
513
513
  append_copy_suffix: typing.Optional[bool] = None,
514
514
  override_existing_tools: typing.Optional[bool] = None,
515
515
  project_id: typing.Optional[str] = None,
516
+ strip_messages: typing.Optional[bool] = None,
516
517
  request_options: typing.Optional[RequestOptions] = None,
517
518
  ) -> AgentState:
518
519
  """
@@ -532,6 +533,9 @@ class AgentsClient:
532
533
  project_id : typing.Optional[str]
533
534
  The project ID to associate the uploaded agent with.
534
535
 
536
+ strip_messages : typing.Optional[bool]
537
+ If set to True, strips all messages from the agent before importing.
538
+
535
539
  request_options : typing.Optional[RequestOptions]
536
540
  Request-specific configuration.
537
541
 
@@ -556,6 +560,7 @@ class AgentsClient:
556
560
  "append_copy_suffix": append_copy_suffix,
557
561
  "override_existing_tools": override_existing_tools,
558
562
  "project_id": project_id,
563
+ "strip_messages": strip_messages,
559
564
  },
560
565
  data={},
561
566
  files={
@@ -1653,6 +1658,7 @@ class AsyncAgentsClient:
1653
1658
  append_copy_suffix: typing.Optional[bool] = None,
1654
1659
  override_existing_tools: typing.Optional[bool] = None,
1655
1660
  project_id: typing.Optional[str] = None,
1661
+ strip_messages: typing.Optional[bool] = None,
1656
1662
  request_options: typing.Optional[RequestOptions] = None,
1657
1663
  ) -> AgentState:
1658
1664
  """
@@ -1672,6 +1678,9 @@ class AsyncAgentsClient:
1672
1678
  project_id : typing.Optional[str]
1673
1679
  The project ID to associate the uploaded agent with.
1674
1680
 
1681
+ strip_messages : typing.Optional[bool]
1682
+ If set to True, strips all messages from the agent before importing.
1683
+
1675
1684
  request_options : typing.Optional[RequestOptions]
1676
1685
  Request-specific configuration.
1677
1686
 
@@ -1704,6 +1713,7 @@ class AsyncAgentsClient:
1704
1713
  "append_copy_suffix": append_copy_suffix,
1705
1714
  "override_existing_tools": override_existing_tools,
1706
1715
  "project_id": project_id,
1716
+ "strip_messages": strip_messages,
1707
1717
  },
1708
1718
  data={},
1709
1719
  files={
@@ -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.92",
19
+ "X-Fern-SDK-Version": "0.1.93",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.92
3
+ Version: 0.1.93
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=QOCi_TZw9n2xd2R32yJ3SuYApK069gfGzIy1LQctwf0,1427
2
2
  letta_client/agents/__init__.py,sha256=CveigJGrnkw3yZ8S9yZ2DpK1HV0v1fU-khsiLJJ0uaU,1452
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=8JZbM5cqU53AyrLeYh6wo7gnxfvC3hNE8KUv1Y-HLEw,88746
5
+ letta_client/agents/client.py,sha256=T7JVCa7eWyDqclYZjaeKE_z0S_Q85EqoklInSF93Hlk,89212
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
@@ -44,7 +44,7 @@ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw
44
44
  letta_client/client.py,sha256=k2mZqqEWciVmEQHgipjCK4kQILk74hpSqzcdNwdql9A,21212
45
45
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
46
46
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
47
- letta_client/core/client_wrapper.py,sha256=IeXRTbZ07VZwNB6ZAHujmVT-m6upBKYQHCqV_0lkyYE,1997
47
+ letta_client/core/client_wrapper.py,sha256=OoX5VVbq2aGi-6rwzWNkAusvYtZuT1nPy1iuSJUQd28,1997
48
48
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
49
49
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
50
50
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -323,6 +323,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
323
323
  letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
324
324
  letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
325
325
  letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
326
- letta_client-0.1.92.dist-info/METADATA,sha256=F9M57d17w933yECbqRXBNWq4fuoXkZSNbvAz5pSgcuY,5041
327
- letta_client-0.1.92.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
328
- letta_client-0.1.92.dist-info/RECORD,,
326
+ letta_client-0.1.93.dist-info/METADATA,sha256=M9Ym-GFSGYraQV26E01sUdXheLMPHD73Acqqe1ma8e0,5041
327
+ letta_client-0.1.93.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
328
+ letta_client-0.1.93.dist-info/RECORD,,