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

@@ -477,7 +477,8 @@ class AgentsClient:
477
477
  self,
478
478
  *,
479
479
  file: core.File,
480
- mark_as_copy: typing.Optional[bool] = None,
480
+ append_copy_suffix: typing.Optional[bool] = None,
481
+ override_existing_tools: typing.Optional[bool] = None,
481
482
  request_options: typing.Optional[RequestOptions] = None,
482
483
  ) -> AgentState:
483
484
  """
@@ -488,8 +489,11 @@ class AgentsClient:
488
489
  file : core.File
489
490
  See core.File for more documentation
490
491
 
491
- mark_as_copy : typing.Optional[bool]
492
- Whether to mark the uploaded agent as a copy
492
+ append_copy_suffix : typing.Optional[bool]
493
+ If set to True, appends "_copy" to the end of the agent name.
494
+
495
+ override_existing_tools : typing.Optional[bool]
496
+ If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
493
497
 
494
498
  request_options : typing.Optional[RequestOptions]
495
499
  Request-specific configuration.
@@ -512,7 +516,8 @@ class AgentsClient:
512
516
  "v1/agents/upload",
513
517
  method="POST",
514
518
  params={
515
- "mark_as_copy": mark_as_copy,
519
+ "append_copy_suffix": append_copy_suffix,
520
+ "override_existing_tools": override_existing_tools,
516
521
  },
517
522
  data={},
518
523
  files={
@@ -1560,7 +1565,8 @@ class AsyncAgentsClient:
1560
1565
  self,
1561
1566
  *,
1562
1567
  file: core.File,
1563
- mark_as_copy: typing.Optional[bool] = None,
1568
+ append_copy_suffix: typing.Optional[bool] = None,
1569
+ override_existing_tools: typing.Optional[bool] = None,
1564
1570
  request_options: typing.Optional[RequestOptions] = None,
1565
1571
  ) -> AgentState:
1566
1572
  """
@@ -1571,8 +1577,11 @@ class AsyncAgentsClient:
1571
1577
  file : core.File
1572
1578
  See core.File for more documentation
1573
1579
 
1574
- mark_as_copy : typing.Optional[bool]
1575
- Whether to mark the uploaded agent as a copy
1580
+ append_copy_suffix : typing.Optional[bool]
1581
+ If set to True, appends "_copy" to the end of the agent name.
1582
+
1583
+ override_existing_tools : typing.Optional[bool]
1584
+ If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
1576
1585
 
1577
1586
  request_options : typing.Optional[RequestOptions]
1578
1587
  Request-specific configuration.
@@ -1603,7 +1612,8 @@ class AsyncAgentsClient:
1603
1612
  "v1/agents/upload",
1604
1613
  method="POST",
1605
1614
  params={
1606
- "mark_as_copy": mark_as_copy,
1615
+ "append_copy_suffix": append_copy_suffix,
1616
+ "override_existing_tools": override_existing_tools,
1607
1617
  },
1608
1618
  data={},
1609
1619
  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.56",
19
+ "X-Fern-SDK-Version": "0.1.57",
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.56
3
+ Version: 0.1.57
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=Ip8Q9zmaujvKwA0wFliL-9AK0GlkgB6UgwZJhcQLJKs,5660
2
2
  letta_client/agents/__init__.py,sha256=dsO71a7KQVSsJkkd31kf6RwxZOeJzjhvJZRQBS7Mlws,22384
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=rMgrx7nZH0KR-T1ye5yQIDRVpWWAbFX4ZQVN90zv0S0,82633
5
+ letta_client/agents/client.py,sha256=1z1dQuyRENb23yV-IqAlQRZ3zlUIXTW-dlPZwrWcUKs,83441
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
@@ -209,7 +209,7 @@ letta_client/blocks/client.py,sha256=AeQQ-IdYhV-zqLTt3PTrJOtJ6XtBZcXNC108Y5EogVU
209
209
  letta_client/client.py,sha256=xdSrD4IkWokZHujowd1r7zESBoVgKGNvo6RqgZ3f0Fg,12808
210
210
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
211
211
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
212
- letta_client/core/client_wrapper.py,sha256=mK4Dx0fezyP7cOZVa2ReUgvouBWhs1betK1iw3Xiyv0,1997
212
+ letta_client/core/client_wrapper.py,sha256=ZmJAEjqyrDpW9pFCxWE77I9ho9Qr-JdXa3Xa6QBJXpQ,1997
213
213
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
214
214
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
215
215
  letta_client/core/http_client.py,sha256=siUQ6UV0ARZALlxubqWSSAAPC9B4VW8y6MGlHStfaeo,19552
@@ -592,6 +592,6 @@ letta_client/voice/__init__.py,sha256=ZrZEuXIukVGhsfM-i0dIFfqjeSOBMPeEgDva7Vvnip
592
592
  letta_client/voice/client.py,sha256=j3feSlNzeTVFXE7RUKEHGeMl_w0TJFBRUI3pXpLpUEI,6148
593
593
  letta_client/voice/types/__init__.py,sha256=hBLJcrom99DkDxxsVRU2ni8kPx6SsCy8gtAJvNOz26w,199
594
594
  letta_client/voice/types/create_voice_chat_completions_request.py,sha256=K4__83rXRCshfdobyAmH-5fUDJQ_PeSQetTUeC4Abk0,381
595
- letta_client-0.1.56.dist-info/METADATA,sha256=MTiaisKZKR584GK72Lq4I7_ITUgZs5grOLTLepWGkvM,4942
596
- letta_client-0.1.56.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
597
- letta_client-0.1.56.dist-info/RECORD,,
595
+ letta_client-0.1.57.dist-info/METADATA,sha256=F7ev0HHKxiv-5hFQqoMADfPKXmO9JprY-sPLjBGAqGk,4942
596
+ letta_client-0.1.57.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
597
+ letta_client-0.1.57.dist-info/RECORD,,