letta-client 0.1.80__py3-none-any.whl → 0.1.81__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
  )
@@ -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.81",
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.81
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
@@ -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=oBW18m7bdwpPkYkBM7fRwEM-Xa6O9SXct7tTnl90GS0,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.81.dist-info/METADATA,sha256=haXMQ6TIh8ybLLNcOwZpqqAXfYUBC9PUG1HxOfgIfJE,5041
693
+ letta_client-0.1.81.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
694
+ letta_client-0.1.81.dist-info/RECORD,,