letta-client 0.1.138__py3-none-any.whl → 0.1.139__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/core/client_wrapper.py +1 -1
- letta_client/models/client.py +16 -2
- {letta_client-0.1.138.dist-info → letta_client-0.1.139.dist-info}/METADATA +1 -1
- {letta_client-0.1.138.dist-info → letta_client-0.1.139.dist-info}/RECORD +5 -5
- {letta_client-0.1.138.dist-info → letta_client-0.1.139.dist-info}/WHEEL +0 -0
|
@@ -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.139",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
letta_client/models/client.py
CHANGED
|
@@ -17,13 +17,19 @@ class ModelsClient:
|
|
|
17
17
|
self._client_wrapper = client_wrapper
|
|
18
18
|
|
|
19
19
|
def list(
|
|
20
|
-
self,
|
|
20
|
+
self,
|
|
21
|
+
*,
|
|
22
|
+
byok_only: typing.Optional[bool] = None,
|
|
23
|
+
default_only: typing.Optional[bool] = None,
|
|
24
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
21
25
|
) -> typing.List[LlmConfig]:
|
|
22
26
|
"""
|
|
23
27
|
Parameters
|
|
24
28
|
----------
|
|
25
29
|
byok_only : typing.Optional[bool]
|
|
26
30
|
|
|
31
|
+
default_only : typing.Optional[bool]
|
|
32
|
+
|
|
27
33
|
request_options : typing.Optional[RequestOptions]
|
|
28
34
|
Request-specific configuration.
|
|
29
35
|
|
|
@@ -46,6 +52,7 @@ class ModelsClient:
|
|
|
46
52
|
method="GET",
|
|
47
53
|
params={
|
|
48
54
|
"byok_only": byok_only,
|
|
55
|
+
"default_only": default_only,
|
|
49
56
|
},
|
|
50
57
|
request_options=request_options,
|
|
51
58
|
)
|
|
@@ -79,13 +86,19 @@ class AsyncModelsClient:
|
|
|
79
86
|
self._client_wrapper = client_wrapper
|
|
80
87
|
|
|
81
88
|
async def list(
|
|
82
|
-
self,
|
|
89
|
+
self,
|
|
90
|
+
*,
|
|
91
|
+
byok_only: typing.Optional[bool] = None,
|
|
92
|
+
default_only: typing.Optional[bool] = None,
|
|
93
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
83
94
|
) -> typing.List[LlmConfig]:
|
|
84
95
|
"""
|
|
85
96
|
Parameters
|
|
86
97
|
----------
|
|
87
98
|
byok_only : typing.Optional[bool]
|
|
88
99
|
|
|
100
|
+
default_only : typing.Optional[bool]
|
|
101
|
+
|
|
89
102
|
request_options : typing.Optional[RequestOptions]
|
|
90
103
|
Request-specific configuration.
|
|
91
104
|
|
|
@@ -116,6 +129,7 @@ class AsyncModelsClient:
|
|
|
116
129
|
method="GET",
|
|
117
130
|
params={
|
|
118
131
|
"byok_only": byok_only,
|
|
132
|
+
"default_only": default_only,
|
|
119
133
|
},
|
|
120
134
|
request_options=request_options,
|
|
121
135
|
)
|
|
@@ -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=k3eu6bqL9ipsWxXIzbM1wLVMVZzONw1gDNtfIMe_G44,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
|
|
@@ -104,7 +104,7 @@ letta_client/jobs/client.py,sha256=z1Zq6dGs2xbf3EAFuD3-m-qbpbUeqpCBYqtIFKkGoMk,1
|
|
|
104
104
|
letta_client/messages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
105
105
|
letta_client/messages/client.py,sha256=1L-636T7K3pL9PjNT5OOGRQjL4wS5bj-0hEW6pqZE_Y,7192
|
|
106
106
|
letta_client/models/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
107
|
-
letta_client/models/client.py,sha256=
|
|
107
|
+
letta_client/models/client.py,sha256=A1B3Q-Oc1ow-2Ju8bI2GF3DmnzGONduv4eDA4Q__368,5000
|
|
108
108
|
letta_client/projects/__init__.py,sha256=Mg9xvTJ4N4xDkj521w3jvmCgrbW3CYx9LxG7kkdoyzs,211
|
|
109
109
|
letta_client/projects/client.py,sha256=VNJyt5QyAQoZwPDL4PQSVrwBK6jb0vOxleTBuMBJSC4,4229
|
|
110
110
|
letta_client/projects/types/__init__.py,sha256=1nE8QFsR2GukiQxkaRFQfBuk1u_yuO-emykjWq8pXRs,277
|
|
@@ -382,6 +382,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
|
|
|
382
382
|
letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
|
|
383
383
|
letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
|
|
384
384
|
letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
|
|
385
|
-
letta_client-0.1.
|
|
386
|
-
letta_client-0.1.
|
|
387
|
-
letta_client-0.1.
|
|
385
|
+
letta_client-0.1.139.dist-info/METADATA,sha256=iqfnSrbFloUVDBOzBtEdv_bA7sYFM-Rj5aEpC2MlCA4,5042
|
|
386
|
+
letta_client-0.1.139.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
387
|
+
letta_client-0.1.139.dist-info/RECORD,,
|
|
File without changes
|