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

@@ -520,7 +520,7 @@ class AgentsClient:
520
520
  override_existing_tools: typing.Optional[bool] = OMIT,
521
521
  project_id: typing.Optional[str] = OMIT,
522
522
  strip_messages: typing.Optional[bool] = OMIT,
523
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
523
+ env_vars_json: typing.Optional[str] = OMIT,
524
524
  request_options: typing.Optional[RequestOptions] = None,
525
525
  ) -> ImportedAgentsResponse:
526
526
  """
@@ -544,8 +544,8 @@ class AgentsClient:
544
544
  strip_messages : typing.Optional[bool]
545
545
  If set to True, strips all messages from the agent before importing.
546
546
 
547
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
548
- Environment variables to pass to the agent for tool execution.
547
+ env_vars_json : typing.Optional[str]
548
+ Environment variables as a JSON string to pass to the agent for tool execution.
549
549
 
550
550
  request_options : typing.Optional[RequestOptions]
551
551
  Request-specific configuration.
@@ -571,7 +571,7 @@ class AgentsClient:
571
571
  override_existing_tools=override_existing_tools,
572
572
  project_id=project_id,
573
573
  strip_messages=strip_messages,
574
- env_vars=env_vars,
574
+ env_vars_json=env_vars_json,
575
575
  request_options=request_options,
576
576
  )
577
577
  return _response.data
@@ -1503,7 +1503,7 @@ class AsyncAgentsClient:
1503
1503
  override_existing_tools: typing.Optional[bool] = OMIT,
1504
1504
  project_id: typing.Optional[str] = OMIT,
1505
1505
  strip_messages: typing.Optional[bool] = OMIT,
1506
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1506
+ env_vars_json: typing.Optional[str] = OMIT,
1507
1507
  request_options: typing.Optional[RequestOptions] = None,
1508
1508
  ) -> ImportedAgentsResponse:
1509
1509
  """
@@ -1527,8 +1527,8 @@ class AsyncAgentsClient:
1527
1527
  strip_messages : typing.Optional[bool]
1528
1528
  If set to True, strips all messages from the agent before importing.
1529
1529
 
1530
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1531
- Environment variables to pass to the agent for tool execution.
1530
+ env_vars_json : typing.Optional[str]
1531
+ Environment variables as a JSON string to pass to the agent for tool execution.
1532
1532
 
1533
1533
  request_options : typing.Optional[RequestOptions]
1534
1534
  Request-specific configuration.
@@ -1562,7 +1562,7 @@ class AsyncAgentsClient:
1562
1562
  override_existing_tools=override_existing_tools,
1563
1563
  project_id=project_id,
1564
1564
  strip_messages=strip_messages,
1565
- env_vars=env_vars,
1565
+ env_vars_json=env_vars_json,
1566
1566
  request_options=request_options,
1567
1567
  )
1568
1568
  return _response.data
@@ -569,7 +569,7 @@ class RawAgentsClient:
569
569
  override_existing_tools: typing.Optional[bool] = OMIT,
570
570
  project_id: typing.Optional[str] = OMIT,
571
571
  strip_messages: typing.Optional[bool] = OMIT,
572
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
572
+ env_vars_json: typing.Optional[str] = OMIT,
573
573
  request_options: typing.Optional[RequestOptions] = None,
574
574
  ) -> HttpResponse[ImportedAgentsResponse]:
575
575
  """
@@ -593,8 +593,8 @@ class RawAgentsClient:
593
593
  strip_messages : typing.Optional[bool]
594
594
  If set to True, strips all messages from the agent before importing.
595
595
 
596
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
597
- Environment variables to pass to the agent for tool execution.
596
+ env_vars_json : typing.Optional[str]
597
+ Environment variables as a JSON string to pass to the agent for tool execution.
598
598
 
599
599
  request_options : typing.Optional[RequestOptions]
600
600
  Request-specific configuration.
@@ -612,7 +612,7 @@ class RawAgentsClient:
612
612
  "override_existing_tools": override_existing_tools,
613
613
  "project_id": project_id,
614
614
  "strip_messages": strip_messages,
615
- "env_vars": env_vars,
615
+ "env_vars_json": env_vars_json,
616
616
  },
617
617
  files={
618
618
  "file": file,
@@ -1699,7 +1699,7 @@ class AsyncRawAgentsClient:
1699
1699
  override_existing_tools: typing.Optional[bool] = OMIT,
1700
1700
  project_id: typing.Optional[str] = OMIT,
1701
1701
  strip_messages: typing.Optional[bool] = OMIT,
1702
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1702
+ env_vars_json: typing.Optional[str] = OMIT,
1703
1703
  request_options: typing.Optional[RequestOptions] = None,
1704
1704
  ) -> AsyncHttpResponse[ImportedAgentsResponse]:
1705
1705
  """
@@ -1723,8 +1723,8 @@ class AsyncRawAgentsClient:
1723
1723
  strip_messages : typing.Optional[bool]
1724
1724
  If set to True, strips all messages from the agent before importing.
1725
1725
 
1726
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1727
- Environment variables to pass to the agent for tool execution.
1726
+ env_vars_json : typing.Optional[str]
1727
+ Environment variables as a JSON string to pass to the agent for tool execution.
1728
1728
 
1729
1729
  request_options : typing.Optional[RequestOptions]
1730
1730
  Request-specific configuration.
@@ -1742,7 +1742,7 @@ class AsyncRawAgentsClient:
1742
1742
  "override_existing_tools": override_existing_tools,
1743
1743
  "project_id": project_id,
1744
1744
  "strip_messages": strip_messages,
1745
- "env_vars": env_vars,
1745
+ "env_vars_json": env_vars_json,
1746
1746
  },
1747
1747
  files={
1748
1748
  "file": file,
@@ -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.281",
27
+ "User-Agent": "letta-client/0.1.282",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.281",
30
+ "X-Fern-SDK-Version": "0.1.282",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.281
3
+ Version: 0.1.282
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -3,7 +3,7 @@ letta_client/agents/__init__.py,sha256=yl1d02BPp-nGZLaUdH9mWcYvHu-1RhRyZUgpZQKOM
3
3
  letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
4
4
  letta_client/agents/blocks/client.py,sha256=Akx-1SYEXkmdtLtytPtdFNhVts8JkjC2aMQnnWgd8Ug,14735
5
5
  letta_client/agents/blocks/raw_client.py,sha256=7tdlieWtGyMe1G5Ne9Rcujvr43DbD4K3hVJ7eiJNuFo,24454
6
- letta_client/agents/client.py,sha256=-iD2qFwuuFQkYqtnpKYqq24mtL7tUj1OhG9cbMa_HYA,73342
6
+ letta_client/agents/client.py,sha256=VUl8uKNhoX2DAXSlW_dVdvoqpvoHglYDtp2sIB-Ajxk,73248
7
7
  letta_client/agents/context/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
8
8
  letta_client/agents/context/client.py,sha256=fhpJFWRs6INGreRyEw9gsFnlUWR48vIHbN_jVIHIBrw,3052
9
9
  letta_client/agents/context/raw_client.py,sha256=j2gko-oEFWuCgPkcX9jCv31OWvR6sTOtAYcSWllXYDs,4747
@@ -35,7 +35,7 @@ letta_client/agents/messages/types/messages_preview_raw_payload_request.py,sha25
35
35
  letta_client/agents/passages/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
36
36
  letta_client/agents/passages/client.py,sha256=XHPpqOH2BDjHkegTRM9MRdDVxW5VH40ERSFvWchWT48,16785
37
37
  letta_client/agents/passages/raw_client.py,sha256=TnNrFsnrexrPVmemkFbRIBfFMcq1Iap2qk23L7mr1Z0,25710
38
- letta_client/agents/raw_client.py,sha256=y0JXg33ytgCTmI-5CQuMKB2mOn5je55VWtTGRsHk61I,96888
38
+ letta_client/agents/raw_client.py,sha256=LBy0N_w4Oo3ydfB8CNbuVgUBG_iNHv4N7E_2Zd9BEu0,96794
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
41
41
  letta_client/agents/sources/raw_client.py,sha256=ts4c5UBuXzrHU-lFWWrYniQqrMEc8SN0rfiqNXJLP5Y,12399
@@ -90,7 +90,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
90
90
  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
91
91
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
92
92
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
93
- letta_client/core/client_wrapper.py,sha256=UDoX2-_PPP5MuxMzPpdINjGalKLL_zqHzbrUseFKBYg,2776
93
+ letta_client/core/client_wrapper.py,sha256=1FkPuNC3GVSVFcAVRzrtc8daOwlk3ahtxBoog1BeV-4,2776
94
94
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
95
95
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
96
96
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -566,6 +566,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
566
566
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
567
567
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
568
568
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
569
- letta_client-0.1.281.dist-info/METADATA,sha256=6f4SMWMC0hXVfuuuRlAwIfhTdzNKaCCE0SyOZzIPl_4,5782
570
- letta_client-0.1.281.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
- letta_client-0.1.281.dist-info/RECORD,,
569
+ letta_client-0.1.282.dist-info/METADATA,sha256=J7cB1o6_fHGhv3vFMx3m6ClIEUCfVxrtBUrC_SbKpqI,5782
570
+ letta_client-0.1.282.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
+ letta_client-0.1.282.dist-info/RECORD,,