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

@@ -230,6 +230,7 @@ class AgentsClient:
230
230
  timezone: typing.Optional[str] = OMIT,
231
231
  max_files_open: typing.Optional[int] = OMIT,
232
232
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
233
+ hidden: typing.Optional[bool] = OMIT,
233
234
  request_options: typing.Optional[RequestOptions] = None,
234
235
  ) -> AgentState:
235
236
  """
@@ -360,6 +361,9 @@ class AgentsClient:
360
361
  per_file_view_window_char_limit : typing.Optional[int]
361
362
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
362
363
 
364
+ hidden : typing.Optional[bool]
365
+ If set to True, the agent will be hidden.
366
+
363
367
  request_options : typing.Optional[RequestOptions]
364
368
  Request-specific configuration.
365
369
 
@@ -420,6 +424,7 @@ class AgentsClient:
420
424
  timezone=timezone,
421
425
  max_files_open=max_files_open,
422
426
  per_file_view_window_char_limit=per_file_view_window_char_limit,
427
+ hidden=hidden,
423
428
  request_options=request_options,
424
429
  )
425
430
  return _response.data
@@ -646,6 +651,7 @@ class AgentsClient:
646
651
  timezone: typing.Optional[str] = OMIT,
647
652
  max_files_open: typing.Optional[int] = OMIT,
648
653
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
654
+ hidden: typing.Optional[bool] = OMIT,
649
655
  request_options: typing.Optional[RequestOptions] = None,
650
656
  ) -> AgentState:
651
657
  """
@@ -736,6 +742,9 @@ class AgentsClient:
736
742
  per_file_view_window_char_limit : typing.Optional[int]
737
743
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
738
744
 
745
+ hidden : typing.Optional[bool]
746
+ If set to True, the agent will be hidden.
747
+
739
748
  request_options : typing.Optional[RequestOptions]
740
749
  Request-specific configuration.
741
750
 
@@ -785,6 +794,7 @@ class AgentsClient:
785
794
  timezone=timezone,
786
795
  max_files_open=max_files_open,
787
796
  per_file_view_window_char_limit=per_file_view_window_char_limit,
797
+ hidden=hidden,
788
798
  request_options=request_options,
789
799
  )
790
800
  return _response.data
@@ -1095,6 +1105,7 @@ class AsyncAgentsClient:
1095
1105
  timezone: typing.Optional[str] = OMIT,
1096
1106
  max_files_open: typing.Optional[int] = OMIT,
1097
1107
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
1108
+ hidden: typing.Optional[bool] = OMIT,
1098
1109
  request_options: typing.Optional[RequestOptions] = None,
1099
1110
  ) -> AgentState:
1100
1111
  """
@@ -1225,6 +1236,9 @@ class AsyncAgentsClient:
1225
1236
  per_file_view_window_char_limit : typing.Optional[int]
1226
1237
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
1227
1238
 
1239
+ hidden : typing.Optional[bool]
1240
+ If set to True, the agent will be hidden.
1241
+
1228
1242
  request_options : typing.Optional[RequestOptions]
1229
1243
  Request-specific configuration.
1230
1244
 
@@ -1293,6 +1307,7 @@ class AsyncAgentsClient:
1293
1307
  timezone=timezone,
1294
1308
  max_files_open=max_files_open,
1295
1309
  per_file_view_window_char_limit=per_file_view_window_char_limit,
1310
+ hidden=hidden,
1296
1311
  request_options=request_options,
1297
1312
  )
1298
1313
  return _response.data
@@ -1559,6 +1574,7 @@ class AsyncAgentsClient:
1559
1574
  timezone: typing.Optional[str] = OMIT,
1560
1575
  max_files_open: typing.Optional[int] = OMIT,
1561
1576
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
1577
+ hidden: typing.Optional[bool] = OMIT,
1562
1578
  request_options: typing.Optional[RequestOptions] = None,
1563
1579
  ) -> AgentState:
1564
1580
  """
@@ -1649,6 +1665,9 @@ class AsyncAgentsClient:
1649
1665
  per_file_view_window_char_limit : typing.Optional[int]
1650
1666
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
1651
1667
 
1668
+ hidden : typing.Optional[bool]
1669
+ If set to True, the agent will be hidden.
1670
+
1652
1671
  request_options : typing.Optional[RequestOptions]
1653
1672
  Request-specific configuration.
1654
1673
 
@@ -1706,6 +1725,7 @@ class AsyncAgentsClient:
1706
1725
  timezone=timezone,
1707
1726
  max_files_open=max_files_open,
1708
1727
  per_file_view_window_char_limit=per_file_view_window_char_limit,
1728
+ hidden=hidden,
1709
1729
  request_options=request_options,
1710
1730
  )
1711
1731
  return _response.data
@@ -209,6 +209,7 @@ class RawAgentsClient:
209
209
  timezone: typing.Optional[str] = OMIT,
210
210
  max_files_open: typing.Optional[int] = OMIT,
211
211
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
212
+ hidden: typing.Optional[bool] = OMIT,
212
213
  request_options: typing.Optional[RequestOptions] = None,
213
214
  ) -> HttpResponse[AgentState]:
214
215
  """
@@ -339,6 +340,9 @@ class RawAgentsClient:
339
340
  per_file_view_window_char_limit : typing.Optional[int]
340
341
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
341
342
 
343
+ hidden : typing.Optional[bool]
344
+ If set to True, the agent will be hidden.
345
+
342
346
  request_options : typing.Optional[RequestOptions]
343
347
  Request-specific configuration.
344
348
 
@@ -404,6 +408,7 @@ class RawAgentsClient:
404
408
  "timezone": timezone,
405
409
  "max_files_open": max_files_open,
406
410
  "per_file_view_window_char_limit": per_file_view_window_char_limit,
411
+ "hidden": hidden,
407
412
  },
408
413
  headers={
409
414
  "content-type": "application/json",
@@ -753,6 +758,7 @@ class RawAgentsClient:
753
758
  timezone: typing.Optional[str] = OMIT,
754
759
  max_files_open: typing.Optional[int] = OMIT,
755
760
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
761
+ hidden: typing.Optional[bool] = OMIT,
756
762
  request_options: typing.Optional[RequestOptions] = None,
757
763
  ) -> HttpResponse[AgentState]:
758
764
  """
@@ -843,6 +849,9 @@ class RawAgentsClient:
843
849
  per_file_view_window_char_limit : typing.Optional[int]
844
850
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
845
851
 
852
+ hidden : typing.Optional[bool]
853
+ If set to True, the agent will be hidden.
854
+
846
855
  request_options : typing.Optional[RequestOptions]
847
856
  Request-specific configuration.
848
857
 
@@ -890,6 +899,7 @@ class RawAgentsClient:
890
899
  "timezone": timezone,
891
900
  "max_files_open": max_files_open,
892
901
  "per_file_view_window_char_limit": per_file_view_window_char_limit,
902
+ "hidden": hidden,
893
903
  },
894
904
  headers={
895
905
  "content-type": "application/json",
@@ -1227,6 +1237,7 @@ class AsyncRawAgentsClient:
1227
1237
  timezone: typing.Optional[str] = OMIT,
1228
1238
  max_files_open: typing.Optional[int] = OMIT,
1229
1239
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
1240
+ hidden: typing.Optional[bool] = OMIT,
1230
1241
  request_options: typing.Optional[RequestOptions] = None,
1231
1242
  ) -> AsyncHttpResponse[AgentState]:
1232
1243
  """
@@ -1357,6 +1368,9 @@ class AsyncRawAgentsClient:
1357
1368
  per_file_view_window_char_limit : typing.Optional[int]
1358
1369
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
1359
1370
 
1371
+ hidden : typing.Optional[bool]
1372
+ If set to True, the agent will be hidden.
1373
+
1360
1374
  request_options : typing.Optional[RequestOptions]
1361
1375
  Request-specific configuration.
1362
1376
 
@@ -1422,6 +1436,7 @@ class AsyncRawAgentsClient:
1422
1436
  "timezone": timezone,
1423
1437
  "max_files_open": max_files_open,
1424
1438
  "per_file_view_window_char_limit": per_file_view_window_char_limit,
1439
+ "hidden": hidden,
1425
1440
  },
1426
1441
  headers={
1427
1442
  "content-type": "application/json",
@@ -1771,6 +1786,7 @@ class AsyncRawAgentsClient:
1771
1786
  timezone: typing.Optional[str] = OMIT,
1772
1787
  max_files_open: typing.Optional[int] = OMIT,
1773
1788
  per_file_view_window_char_limit: typing.Optional[int] = OMIT,
1789
+ hidden: typing.Optional[bool] = OMIT,
1774
1790
  request_options: typing.Optional[RequestOptions] = None,
1775
1791
  ) -> AsyncHttpResponse[AgentState]:
1776
1792
  """
@@ -1861,6 +1877,9 @@ class AsyncRawAgentsClient:
1861
1877
  per_file_view_window_char_limit : typing.Optional[int]
1862
1878
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
1863
1879
 
1880
+ hidden : typing.Optional[bool]
1881
+ If set to True, the agent will be hidden.
1882
+
1864
1883
  request_options : typing.Optional[RequestOptions]
1865
1884
  Request-specific configuration.
1866
1885
 
@@ -1908,6 +1927,7 @@ class AsyncRawAgentsClient:
1908
1927
  "timezone": timezone,
1909
1928
  "max_files_open": max_files_open,
1910
1929
  "per_file_view_window_char_limit": per_file_view_window_char_limit,
1930
+ "hidden": hidden,
1911
1931
  },
1912
1932
  headers={
1913
1933
  "content-type": "application/json",
@@ -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.234",
27
+ "User-Agent": "letta-client/0.1.235",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.234",
30
+ "X-Fern-SDK-Version": "0.1.235",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -196,6 +196,11 @@ class AgentState(UncheckedBaseModel):
196
196
  The per-file view window character limit for this agent. Setting this too high may exceed the context window, which will break the agent.
197
197
  """
198
198
 
199
+ hidden: typing.Optional[bool] = pydantic.Field(default=None)
200
+ """
201
+ If set to True, the agent will be hidden.
202
+ """
203
+
199
204
  if IS_PYDANTIC_V2:
200
205
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
201
206
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.234
3
+ Version: 0.1.235
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=JkuWGGNJsCfnMr2DFzQ1SiqEB1tcFZnafdidODi0_
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=nbPOuwaM9oA_-7vn5UKP92MS2hyYJkGwS7Dre-9-GyQ,66700
6
+ letta_client/agents/client.py,sha256=VEFR2yEbMKfJT0_p91KuFGzvwMrMk9SMIHnhi1PT5ZY,67368
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=PUyT8sbJMu3FAlBzSYE77XiLfcAXKHwvJYLdrz896VQ,16893
37
37
  letta_client/agents/passages/raw_client.py,sha256=pPZnVLan1B1ATYKBVFW73k7MrpaNzWehBGoNOI7vgkQ,25788
38
- letta_client/agents/raw_client.py,sha256=v1Ylbky2C1EIZpLaPLvW9rW9HIeHIfoVNcvZmDT0XQg,88023
38
+ letta_client/agents/raw_client.py,sha256=Pk23NQb45Yo03g-Qxep-_ACMfup_EO3_aXdKF-G0rzs,88719
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
@@ -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=iOvbgt4IhgM6A5_iYyRjv4kubenLHYif420xMY_sqbc,2776
95
+ letta_client/core/client_wrapper.py,sha256=W-z5vHoC_YR_yBbSqtMbf3Z4oXk8RXHAWzDHfR8Mo9c,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
@@ -235,7 +235,7 @@ letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQX
235
235
  letta_client/types/agent_environment_variable.py,sha256=z9nGJdnyrLGxYaIqdD0a73K3Euemvb87Bpe9YmvXPO8,1699
236
236
  letta_client/types/agent_schema.py,sha256=dTWtJhkJXIYeRzF_82o9BJ6Cw9-gqb2f0pZ7PM3qz24,1785
237
237
  letta_client/types/agent_schema_tool_rules_item.py,sha256=yC1_su9b4DNzVexV2ETsG2xVOOITTg9XTF31zBLRLAQ,483
238
- letta_client/types/agent_state.py,sha256=t46dfSUOIMkhVTTs8rcH7r12JqAzggzYXzCqFio29r8,6547
238
+ letta_client/types/agent_state.py,sha256=_8ulaUsdrU3ONYFP8chKcKbgnkmwroQVnle99j0CxlY,6675
239
239
  letta_client/types/agent_state_response_format.py,sha256=EsaiTnlxRPkGPBc67DCsVAARsGubFQM7Xbs12jtsvWw,378
240
240
  letta_client/types/agent_state_tool_rules_item.py,sha256=6JVNfJwv-Mw6aOV-4KTX6ZP0dB-GYf2ZKCaWYsmxUSc,729
241
241
  letta_client/types/agent_type.py,sha256=4_JSgy0zfiqtUcKh5XMfRDYaablo4RuzUmIstRZ2FsI,370
@@ -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.234.dist-info/METADATA,sha256=GNoV1qKTF4ug0ZyfMclvjBkE7CGaRraU_cfAaJsdliM,5781
502
- letta_client-0.1.234.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
503
- letta_client-0.1.234.dist-info/RECORD,,
501
+ letta_client-0.1.235.dist-info/METADATA,sha256=fwx8tlHDc1rSzNGsQSlWTRDz6v0ktsxjxfa2-0sVreM,5781
502
+ letta_client-0.1.235.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
503
+ letta_client-0.1.235.dist-info/RECORD,,