letta-client 0.1.206__py3-none-any.whl → 0.1.208__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 +12 -8
- letta_client/core/client_wrapper.py +1 -1
- letta_client/types/chat_completion_audio_param_format.py +1 -1
- letta_client/types/completion_create_params_non_streaming_service_tier.py +1 -3
- {letta_client-0.1.206.dist-info → letta_client-0.1.208.dist-info}/METADATA +1 -1
- {letta_client-0.1.206.dist-info → letta_client-0.1.208.dist-info}/RECORD +7 -7
- {letta_client-0.1.206.dist-info → letta_client-0.1.208.dist-info}/WHEEL +0 -0
letta_client/blocks/client.py
CHANGED
|
@@ -323,7 +323,9 @@ class BlocksClient:
|
|
|
323
323
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
324
324
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
325
325
|
|
|
326
|
-
def delete(
|
|
326
|
+
def delete(
|
|
327
|
+
self, block_id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
328
|
+
) -> typing.Optional[typing.Any]:
|
|
327
329
|
"""
|
|
328
330
|
Parameters
|
|
329
331
|
----------
|
|
@@ -334,7 +336,7 @@ class BlocksClient:
|
|
|
334
336
|
|
|
335
337
|
Returns
|
|
336
338
|
-------
|
|
337
|
-
|
|
339
|
+
typing.Optional[typing.Any]
|
|
338
340
|
Successful Response
|
|
339
341
|
|
|
340
342
|
Examples
|
|
@@ -357,9 +359,9 @@ class BlocksClient:
|
|
|
357
359
|
try:
|
|
358
360
|
if 200 <= _response.status_code < 300:
|
|
359
361
|
return typing.cast(
|
|
360
|
-
|
|
362
|
+
typing.Optional[typing.Any],
|
|
361
363
|
construct_type(
|
|
362
|
-
type_=
|
|
364
|
+
type_=typing.Optional[typing.Any], # type: ignore
|
|
363
365
|
object_=_response.json(),
|
|
364
366
|
),
|
|
365
367
|
)
|
|
@@ -824,7 +826,9 @@ class AsyncBlocksClient:
|
|
|
824
826
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
825
827
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
826
828
|
|
|
827
|
-
async def delete(
|
|
829
|
+
async def delete(
|
|
830
|
+
self, block_id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
831
|
+
) -> typing.Optional[typing.Any]:
|
|
828
832
|
"""
|
|
829
833
|
Parameters
|
|
830
834
|
----------
|
|
@@ -835,7 +839,7 @@ class AsyncBlocksClient:
|
|
|
835
839
|
|
|
836
840
|
Returns
|
|
837
841
|
-------
|
|
838
|
-
|
|
842
|
+
typing.Optional[typing.Any]
|
|
839
843
|
Successful Response
|
|
840
844
|
|
|
841
845
|
Examples
|
|
@@ -866,9 +870,9 @@ class AsyncBlocksClient:
|
|
|
866
870
|
try:
|
|
867
871
|
if 200 <= _response.status_code < 300:
|
|
868
872
|
return typing.cast(
|
|
869
|
-
|
|
873
|
+
typing.Optional[typing.Any],
|
|
870
874
|
construct_type(
|
|
871
|
-
type_=
|
|
875
|
+
type_=typing.Optional[typing.Any], # type: ignore
|
|
872
876
|
object_=_response.json(),
|
|
873
877
|
),
|
|
874
878
|
)
|
|
@@ -24,7 +24,7 @@ class BaseClientWrapper:
|
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
25
|
"X-Fern-Language": "Python",
|
|
26
26
|
"X-Fern-SDK-Name": "letta-client",
|
|
27
|
-
"X-Fern-SDK-Version": "0.1.
|
|
27
|
+
"X-Fern-SDK-Version": "0.1.208",
|
|
28
28
|
}
|
|
29
29
|
if self._project is not None:
|
|
30
30
|
headers["X-Project"] = self._project
|
|
@@ -2,6 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
CompletionCreateParamsNonStreamingServiceTier = typing.Union[
|
|
6
|
-
typing.Literal["auto", "default", "flex", "scale", "priority"], typing.Any
|
|
7
|
-
]
|
|
5
|
+
CompletionCreateParamsNonStreamingServiceTier = typing.Union[typing.Literal["auto", "default"], typing.Any]
|
|
@@ -53,7 +53,7 @@ letta_client/batches/client.py,sha256=DHnsRYHgxVh6OvfAE8etlbno1FMg4cIzAYiydJrfmJ
|
|
|
53
53
|
letta_client/blocks/__init__.py,sha256=c6SGOs9_YGdydYAzhe5TUiaXq52rpWT1mNMcke8qGTQ,108
|
|
54
54
|
letta_client/blocks/agents/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
55
55
|
letta_client/blocks/agents/client.py,sha256=2mBOt6CZanLUi_8Nc-bthaGoKhU3WgSA9vL1UjMdZE8,6066
|
|
56
|
-
letta_client/blocks/client.py,sha256=
|
|
56
|
+
letta_client/blocks/client.py,sha256=TSVtPLfkeNJ-l8PenMSE3vskdemKs12KfziwQw1hvxc,32311
|
|
57
57
|
letta_client/client.py,sha256=iXqKTuQ0F9jIjkTwD73apLlLQqUF1IF6V_PhenY_CJo,22470
|
|
58
58
|
letta_client/client_side_access_tokens/__init__.py,sha256=e9NgxUsEnfbJVCM2npPuQ02dAS5jlXmneqU9DS6Q3d8,1561
|
|
59
59
|
letta_client/client_side_access_tokens/client.py,sha256=5aiqgKkzXElPgJszjyT-1wPRsBziH32UJwPVGQdZOFg,18215
|
|
@@ -71,7 +71,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
71
71
|
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
|
|
72
72
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
73
73
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
74
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
74
|
+
letta_client/core/client_wrapper.py,sha256=yMdOthLeiHpk29zciiOPezSjj9AknzOH_FdSOhIdJ9Y,2336
|
|
75
75
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
76
76
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
77
77
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -198,7 +198,7 @@ letta_client/types/chat_completion_assistant_message_param.py,sha256=QwxAJ9RQqxt
|
|
|
198
198
|
letta_client/types/chat_completion_assistant_message_param_content.py,sha256=CJ7Z_Jik2fzBYGy0UuvgDk0aLt3-Xpj3qswBLmWM0Sg,323
|
|
199
199
|
letta_client/types/chat_completion_assistant_message_param_content_item.py,sha256=tF-E0jNH0ilRJgm4vPTqHguCb-TZZ0LJfTXxOnon23w,405
|
|
200
200
|
letta_client/types/chat_completion_audio_param.py,sha256=l3hMhCWVDglmqmVezfuemQZoEevpndfyKJBDLu0_t-U,795
|
|
201
|
-
letta_client/types/chat_completion_audio_param_format.py,sha256=
|
|
201
|
+
letta_client/types/chat_completion_audio_param_format.py,sha256=fuHPqWZGDIOwa4jnVY1hpU4Hx0sLs6qTjnss4PZMqSQ,193
|
|
202
202
|
letta_client/types/chat_completion_audio_param_voice.py,sha256=9bpfU_DFyUdFLYZMkigrNlre4VklwqX7mGa0myMt7HQ,453
|
|
203
203
|
letta_client/types/chat_completion_content_part_image_param.py,sha256=dUQIFiDbyebgPEpVJJlDvZ5pcoly3LuGq-4fxojDbBc,674
|
|
204
204
|
letta_client/types/chat_completion_content_part_input_audio_param.py,sha256=-RGWHcpNdJQg82E8QhRve2QJQehma91k8eqGqeH29hc,691
|
|
@@ -232,7 +232,7 @@ letta_client/types/completion_create_params_non_streaming_modalities_item.py,sha
|
|
|
232
232
|
letta_client/types/completion_create_params_non_streaming_model.py,sha256=RhKFYjt4pgTgHfoihS1VdfIDjIlR1KCvPVMDIBY6UbY,1935
|
|
233
233
|
letta_client/types/completion_create_params_non_streaming_reasoning_effort.py,sha256=f1hBX3qksGoGC6O2W5qHblCQXtoZiEhiN8LUy1Rv9Ig,198
|
|
234
234
|
letta_client/types/completion_create_params_non_streaming_response_format.py,sha256=c16kBch59yhxAgMeFTxGNrEBNl4Vu3fPmZ2RqqS6bkU,407
|
|
235
|
-
letta_client/types/completion_create_params_non_streaming_service_tier.py,sha256=
|
|
235
|
+
letta_client/types/completion_create_params_non_streaming_service_tier.py,sha256=Tfw62WLF3WSHWZy8VOVXal1INDQNtZhoB8DSA0btJ0g,188
|
|
236
236
|
letta_client/types/completion_create_params_non_streaming_stop.py,sha256=5vPdgab7iH6eDizESU2_CMieWN5CN3pF8TZs-Zb7rMw,157
|
|
237
237
|
letta_client/types/completion_create_params_non_streaming_tool_choice.py,sha256=jP4qKEF5-TOkBHebni-L9eNpbPnIEpv7fa6v4K_L5U8,346
|
|
238
238
|
letta_client/types/completion_create_params_streaming.py,sha256=sgazDkBKpQTk2NtrJ0l7F0moftbl-zgpw6lkEQt6ha0,3891
|
|
@@ -428,6 +428,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
|
|
|
428
428
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
429
429
|
letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
430
430
|
letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
|
|
431
|
-
letta_client-0.1.
|
|
432
|
-
letta_client-0.1.
|
|
433
|
-
letta_client-0.1.
|
|
431
|
+
letta_client-0.1.208.dist-info/METADATA,sha256=PpZVW8mRdRVPu9tTDeScSjt0RQfBXmbd7-OeAmNNcjs,5177
|
|
432
|
+
letta_client-0.1.208.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
433
|
+
letta_client-0.1.208.dist-info/RECORD,,
|
|
File without changes
|