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

@@ -447,9 +447,7 @@ class AgentsClient:
447
447
  raise ApiError(status_code=_response.status_code, body=_response.text)
448
448
  raise ApiError(status_code=_response.status_code, body=_response_json)
449
449
 
450
- def export_agent_serialized(
451
- self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None
452
- ) -> typing.Optional[typing.Any]:
450
+ def export_agent_serialized(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
453
451
  """
454
452
  Export the serialized JSON representation of an agent, formatted with indentation.
455
453
 
@@ -462,7 +460,7 @@ class AgentsClient:
462
460
 
463
461
  Returns
464
462
  -------
465
- typing.Optional[typing.Any]
463
+ str
466
464
  Successful Response
467
465
 
468
466
  Examples
@@ -484,9 +482,9 @@ class AgentsClient:
484
482
  try:
485
483
  if 200 <= _response.status_code < 300:
486
484
  return typing.cast(
487
- typing.Optional[typing.Any],
485
+ str,
488
486
  construct_type(
489
- type_=typing.Optional[typing.Any], # type: ignore
487
+ type_=str, # type: ignore
490
488
  object_=_response.json(),
491
489
  ),
492
490
  )
@@ -1586,7 +1584,7 @@ class AsyncAgentsClient:
1586
1584
 
1587
1585
  async def export_agent_serialized(
1588
1586
  self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None
1589
- ) -> typing.Optional[typing.Any]:
1587
+ ) -> str:
1590
1588
  """
1591
1589
  Export the serialized JSON representation of an agent, formatted with indentation.
1592
1590
 
@@ -1599,7 +1597,7 @@ class AsyncAgentsClient:
1599
1597
 
1600
1598
  Returns
1601
1599
  -------
1602
- typing.Optional[typing.Any]
1600
+ str
1603
1601
  Successful Response
1604
1602
 
1605
1603
  Examples
@@ -1629,9 +1627,9 @@ class AsyncAgentsClient:
1629
1627
  try:
1630
1628
  if 200 <= _response.status_code < 300:
1631
1629
  return typing.cast(
1632
- typing.Optional[typing.Any],
1630
+ str,
1633
1631
  construct_type(
1634
- type_=typing.Optional[typing.Any], # type: ignore
1632
+ type_=str, # type: ignore
1635
1633
  object_=_response.json(),
1636
1634
  ),
1637
1635
  )
@@ -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.107",
19
+ "X-Fern-SDK-Version": "0.1.108",
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.107
3
+ Version: 0.1.108
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=xU_DjiXcLwfSaX1f10xjdfzWW46_G-m5EMuyHXukNjw,1450
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=KWyPW3myIKutPPhoefUNWVBETC7i6RHiRvkgsB6H5jw,89351
5
+ letta_client/agents/client.py,sha256=XI4O2hrctvwTH9fHJeKZ5CmFE7pHlOGW2uWhIIV0aec,89145
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=HAUBq3dWP9p40q1aimUD9e8XQufDkVYWXrKN_J15jek,1998
47
+ letta_client/core/client_wrapper.py,sha256=2JcmLk6OmrPVEOff87GQ92TwehjujWSQksG1tEm9kcA,1998
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
@@ -327,6 +327,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
327
327
  letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
328
328
  letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
329
329
  letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
330
- letta_client-0.1.107.dist-info/METADATA,sha256=_MUYcttVHLBrjyn-ZH-LTIIaOQmNhIMPJ8xTEn7Azyo,5042
331
- letta_client-0.1.107.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
332
- letta_client-0.1.107.dist-info/RECORD,,
330
+ letta_client-0.1.108.dist-info/METADATA,sha256=Bfh-XuldSIigFDcMAuzqg6JoocpO0tvnpPEQfMVntmc,5042
331
+ letta_client-0.1.108.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
332
+ letta_client-0.1.108.dist-info/RECORD,,