letta-client 0.1.142__py3-none-any.whl → 0.1.143__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.
- letta_client/blocks/client.py +10 -0
- letta_client/core/client_wrapper.py +1 -1
- {letta_client-0.1.142.dist-info → letta_client-0.1.143.dist-info}/METADATA +1 -1
- {letta_client-0.1.142.dist-info → letta_client-0.1.143.dist-info}/RECORD +5 -5
- {letta_client-0.1.142.dist-info → letta_client-0.1.143.dist-info}/WHEEL +0 -0
letta_client/blocks/client.py
CHANGED
|
@@ -31,6 +31,7 @@ class BlocksClient:
|
|
|
31
31
|
name: typing.Optional[str] = None,
|
|
32
32
|
identity_id: typing.Optional[str] = None,
|
|
33
33
|
identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
34
|
+
limit: typing.Optional[int] = None,
|
|
34
35
|
request_options: typing.Optional[RequestOptions] = None,
|
|
35
36
|
) -> typing.List[Block]:
|
|
36
37
|
"""
|
|
@@ -51,6 +52,9 @@ class BlocksClient:
|
|
|
51
52
|
identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
52
53
|
Search agents by identifier keys
|
|
53
54
|
|
|
55
|
+
limit : typing.Optional[int]
|
|
56
|
+
Number of blocks to return
|
|
57
|
+
|
|
54
58
|
request_options : typing.Optional[RequestOptions]
|
|
55
59
|
Request-specific configuration.
|
|
56
60
|
|
|
@@ -77,6 +81,7 @@ class BlocksClient:
|
|
|
77
81
|
"name": name,
|
|
78
82
|
"identity_id": identity_id,
|
|
79
83
|
"identifier_keys": identifier_keys,
|
|
84
|
+
"limit": limit,
|
|
80
85
|
},
|
|
81
86
|
request_options=request_options,
|
|
82
87
|
)
|
|
@@ -469,6 +474,7 @@ class AsyncBlocksClient:
|
|
|
469
474
|
name: typing.Optional[str] = None,
|
|
470
475
|
identity_id: typing.Optional[str] = None,
|
|
471
476
|
identifier_keys: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
477
|
+
limit: typing.Optional[int] = None,
|
|
472
478
|
request_options: typing.Optional[RequestOptions] = None,
|
|
473
479
|
) -> typing.List[Block]:
|
|
474
480
|
"""
|
|
@@ -489,6 +495,9 @@ class AsyncBlocksClient:
|
|
|
489
495
|
identifier_keys : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
490
496
|
Search agents by identifier keys
|
|
491
497
|
|
|
498
|
+
limit : typing.Optional[int]
|
|
499
|
+
Number of blocks to return
|
|
500
|
+
|
|
492
501
|
request_options : typing.Optional[RequestOptions]
|
|
493
502
|
Request-specific configuration.
|
|
494
503
|
|
|
@@ -523,6 +532,7 @@ class AsyncBlocksClient:
|
|
|
523
532
|
"name": name,
|
|
524
533
|
"identity_id": identity_id,
|
|
525
534
|
"identifier_keys": identifier_keys,
|
|
535
|
+
"limit": limit,
|
|
526
536
|
},
|
|
527
537
|
request_options=request_options,
|
|
528
538
|
)
|
|
@@ -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.
|
|
19
|
+
"X-Fern-SDK-Version": "0.1.143",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
|
@@ -49,7 +49,7 @@ letta_client/batches/client.py,sha256=3uBs2SZbOP40b-Ck_DvicHuGJe5j3JAsK156zwsofp
|
|
|
49
49
|
letta_client/blocks/__init__.py,sha256=c6SGOs9_YGdydYAzhe5TUiaXq52rpWT1mNMcke8qGTQ,108
|
|
50
50
|
letta_client/blocks/agents/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
51
51
|
letta_client/blocks/agents/client.py,sha256=-QywGs_ZfE5PbgzLYf2zzn9zAtpZmzGtHHZ5sXIYw0Y,4904
|
|
52
|
-
letta_client/blocks/client.py,sha256=
|
|
52
|
+
letta_client/blocks/client.py,sha256=nsjg2c2I2SRAEuONMzbvtsw8nD0drsXTgIu5egRyOLw,29951
|
|
53
53
|
letta_client/client.py,sha256=k2mZqqEWciVmEQHgipjCK4kQILk74hpSqzcdNwdql9A,21212
|
|
54
54
|
letta_client/client_side_access_tokens/__init__.py,sha256=z_wHT4UTBK7RzDIfLpdLMtBJBuuDosqgbzdmx-QME_o,763
|
|
55
55
|
letta_client/client_side_access_tokens/client.py,sha256=Qt1nmL-il4QzqWZHxY6XsSvCY8ps9FWXsWtUTPclVCc,12272
|
|
@@ -62,7 +62,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_create_re
|
|
|
62
62
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item_access_item.py,sha256=R-H25IpNp9feSrW8Yj3h9O3UTMVvFniQJElogKxLuoE,254
|
|
63
63
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
64
64
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
65
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
65
|
+
letta_client/core/client_wrapper.py,sha256=tRBNAIwFSZTh4mSUa-RzVHtW4OfUjfubJ3P_Nq6Yi_A,1998
|
|
66
66
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
67
67
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
68
68
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -385,6 +385,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
|
|
|
385
385
|
letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
|
|
386
386
|
letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
|
|
387
387
|
letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
|
|
388
|
-
letta_client-0.1.
|
|
389
|
-
letta_client-0.1.
|
|
390
|
-
letta_client-0.1.
|
|
388
|
+
letta_client-0.1.143.dist-info/METADATA,sha256=GE7zyYgWi4LBIhT8Kl-i904EnQTUAwz-9IDUWJWBv2k,5042
|
|
389
|
+
letta_client-0.1.143.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
390
|
+
letta_client-0.1.143.dist-info/RECORD,,
|
|
File without changes
|