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

@@ -77,6 +77,7 @@ class AgentsClient:
77
77
  identity_id: typing.Optional[str] = None,
78
78
  identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
79
79
  include_relationships: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
80
+ ascending: typing.Optional[bool] = None,
80
81
  request_options: typing.Optional[RequestOptions] = None,
81
82
  ) -> typing.List[AgentState]:
82
83
  """
@@ -126,6 +127,9 @@ class AgentsClient:
126
127
  include_relationships : typing.Optional[typing.Union[str, typing.Sequence[str]]]
127
128
  Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.
128
129
 
130
+ ascending : typing.Optional[bool]
131
+ Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
132
+
129
133
  request_options : typing.Optional[RequestOptions]
130
134
  Request-specific configuration.
131
135
 
@@ -160,6 +164,7 @@ class AgentsClient:
160
164
  "identity_id": identity_id,
161
165
  "identifier_keys": identifier_keys,
162
166
  "include_relationships": include_relationships,
167
+ "ascending": ascending,
163
168
  },
164
169
  request_options=request_options,
165
170
  )
@@ -1153,6 +1158,7 @@ class AsyncAgentsClient:
1153
1158
  identity_id: typing.Optional[str] = None,
1154
1159
  identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
1155
1160
  include_relationships: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
1161
+ ascending: typing.Optional[bool] = None,
1156
1162
  request_options: typing.Optional[RequestOptions] = None,
1157
1163
  ) -> typing.List[AgentState]:
1158
1164
  """
@@ -1202,6 +1208,9 @@ class AsyncAgentsClient:
1202
1208
  include_relationships : typing.Optional[typing.Union[str, typing.Sequence[str]]]
1203
1209
  Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include in the response. If not provided, all relationships are loaded by default. Using this can optimize performance by reducing unnecessary joins.
1204
1210
 
1211
+ ascending : typing.Optional[bool]
1212
+ Whether to sort agents oldest to newest (True) or newest to oldest (False, default)
1213
+
1205
1214
  request_options : typing.Optional[RequestOptions]
1206
1215
  Request-specific configuration.
1207
1216
 
@@ -1244,6 +1253,7 @@ class AsyncAgentsClient:
1244
1253
  "identity_id": identity_id,
1245
1254
  "identifier_keys": identifier_keys,
1246
1255
  "include_relationships": include_relationships,
1256
+ "ascending": ascending,
1247
1257
  },
1248
1258
  request_options=request_options,
1249
1259
  )
@@ -24,9 +24,11 @@ class PassagesClient:
24
24
  self,
25
25
  agent_id: str,
26
26
  *,
27
- after: typing.Optional[int] = None,
28
- before: typing.Optional[int] = None,
27
+ after: typing.Optional[str] = None,
28
+ before: typing.Optional[str] = None,
29
29
  limit: typing.Optional[int] = None,
30
+ search: typing.Optional[str] = None,
31
+ ascending: typing.Optional[bool] = None,
30
32
  request_options: typing.Optional[RequestOptions] = None,
31
33
  ) -> typing.List[Passage]:
32
34
  """
@@ -36,15 +38,21 @@ class PassagesClient:
36
38
  ----------
37
39
  agent_id : str
38
40
 
39
- after : typing.Optional[int]
41
+ after : typing.Optional[str]
40
42
  Unique ID of the memory to start the query range at.
41
43
 
42
- before : typing.Optional[int]
44
+ before : typing.Optional[str]
43
45
  Unique ID of the memory to end the query range at.
44
46
 
45
47
  limit : typing.Optional[int]
46
48
  How many results to include in the response.
47
49
 
50
+ search : typing.Optional[str]
51
+ Search passages by text
52
+
53
+ ascending : typing.Optional[bool]
54
+ Whether to sort passages oldest to newest (True, default) or newest to oldest (False)
55
+
48
56
  request_options : typing.Optional[RequestOptions]
49
57
  Request-specific configuration.
50
58
 
@@ -71,6 +79,8 @@ class PassagesClient:
71
79
  "after": after,
72
80
  "before": before,
73
81
  "limit": limit,
82
+ "search": search,
83
+ "ascending": ascending,
74
84
  },
75
85
  request_options=request_options,
76
86
  )
@@ -237,9 +247,11 @@ class AsyncPassagesClient:
237
247
  self,
238
248
  agent_id: str,
239
249
  *,
240
- after: typing.Optional[int] = None,
241
- before: typing.Optional[int] = None,
250
+ after: typing.Optional[str] = None,
251
+ before: typing.Optional[str] = None,
242
252
  limit: typing.Optional[int] = None,
253
+ search: typing.Optional[str] = None,
254
+ ascending: typing.Optional[bool] = None,
243
255
  request_options: typing.Optional[RequestOptions] = None,
244
256
  ) -> typing.List[Passage]:
245
257
  """
@@ -249,15 +261,21 @@ class AsyncPassagesClient:
249
261
  ----------
250
262
  agent_id : str
251
263
 
252
- after : typing.Optional[int]
264
+ after : typing.Optional[str]
253
265
  Unique ID of the memory to start the query range at.
254
266
 
255
- before : typing.Optional[int]
267
+ before : typing.Optional[str]
256
268
  Unique ID of the memory to end the query range at.
257
269
 
258
270
  limit : typing.Optional[int]
259
271
  How many results to include in the response.
260
272
 
273
+ search : typing.Optional[str]
274
+ Search passages by text
275
+
276
+ ascending : typing.Optional[bool]
277
+ Whether to sort passages oldest to newest (True, default) or newest to oldest (False)
278
+
261
279
  request_options : typing.Optional[RequestOptions]
262
280
  Request-specific configuration.
263
281
 
@@ -292,6 +310,8 @@ class AsyncPassagesClient:
292
310
  "after": after,
293
311
  "before": before,
294
312
  "limit": limit,
313
+ "search": search,
314
+ "ascending": ascending,
295
315
  },
296
316
  request_options=request_options,
297
317
  )
@@ -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.80",
19
+ "X-Fern-SDK-Version": "0.1.82",
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.80
3
+ Version: 0.1.82
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=6C8DmUhpqCPjTd_KamRBrptGiL8NnkPGO-e70sfZpiA,6590
2
2
  letta_client/agents/__init__.py,sha256=5zJALonfv-KgVXgPFZjAlTSo-Fm7Fe3S7i3F8vccAvg,25764
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=RCq2N7aO8gk_-dVwt5tP4ppKgiZ_i7hy4rPASyx2f5o,84696
5
+ letta_client/agents/client.py,sha256=ZUwxURBPy4jW4YgeZR_VijXQB2iUPadzQaSoG2-ZcX0,85152
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
@@ -18,7 +18,7 @@ letta_client/agents/messages/types/letta_streaming_response.py,sha256=MdE2PxQ1x1
18
18
  letta_client/agents/messages/types/messages_modify_request.py,sha256=7C2X3BKye-YDSXOkdEmxxt34seI4jkLK0-govtc4nhg,475
19
19
  letta_client/agents/messages/types/messages_modify_response.py,sha256=f2eITUx-zQ4qzcYd1JPS_mFSqJw7xVsxX7GR7d2RYRI,552
20
20
  letta_client/agents/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
21
- letta_client/agents/passages/client.py,sha256=aNaeyQU8AQHozFWkTbNH8MxpOUea-uiZ_RgdyFEFD2w,14818
21
+ letta_client/agents/passages/client.py,sha256=hWC-WHKU-0kwkn5ncPhxALL_wGLCu1JmLlmfDaAOVww,15586
22
22
  letta_client/agents/sources/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
23
23
  letta_client/agents/sources/client.py,sha256=VjmiI0L2RyT3AhqstHunapdbzygTBcNGoT1DiFGRg44,12799
24
24
  letta_client/agents/templates/__init__.py,sha256=GGaz6hUZBKGSU4XFlzlC_cMqLxAymHN45RF3WLwkiWY,201
@@ -234,7 +234,7 @@ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw
234
234
  letta_client/client.py,sha256=k2mZqqEWciVmEQHgipjCK4kQILk74hpSqzcdNwdql9A,21212
235
235
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
236
236
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
237
- letta_client/core/client_wrapper.py,sha256=rro26ZbNfEw7YxVau88R-kLM2pDyo9QRBM2fPOZKHFg,1997
237
+ letta_client/core/client_wrapper.py,sha256=8aPG4QYMJr7KaYJK8RPNkICqdLvno1lmNe5vVFOq_ec,1997
238
238
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
239
239
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
240
240
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -689,6 +689,6 @@ letta_client/voice/__init__.py,sha256=ZrZEuXIukVGhsfM-i0dIFfqjeSOBMPeEgDva7Vvnip
689
689
  letta_client/voice/client.py,sha256=2KKJiteGk5HQM79ne1jOPl_ZyUTfZM_gXNdZZ_ndPU8,6485
690
690
  letta_client/voice/types/__init__.py,sha256=hBLJcrom99DkDxxsVRU2ni8kPx6SsCy8gtAJvNOz26w,199
691
691
  letta_client/voice/types/create_voice_chat_completions_request.py,sha256=K4__83rXRCshfdobyAmH-5fUDJQ_PeSQetTUeC4Abk0,381
692
- letta_client-0.1.80.dist-info/METADATA,sha256=j8F5lcMksUZXcL4eU8Ae-bunMkccqLqBE3TYOcwlUs8,5041
693
- letta_client-0.1.80.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
694
- letta_client-0.1.80.dist-info/RECORD,,
692
+ letta_client-0.1.82.dist-info/METADATA,sha256=ArrsQIc1imqN4bG0nfIgI-luo6Rk0aE0MgfLwf7yz0s,5041
693
+ letta_client-0.1.82.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
694
+ letta_client-0.1.82.dist-info/RECORD,,