letta-client 0.1.231__py3-none-any.whl → 0.1.233__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/__init__.py +2 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/types/__init__.py +2 -0
- letta_client/types/chat_completion_audio_param_voice.py +0 -3
- letta_client/types/modal_sandbox_config.py +27 -0
- letta_client/types/sandbox_config_create_config.py +2 -1
- letta_client/types/sandbox_config_update_config.py +2 -1
- letta_client/types/sandbox_type.py +1 -1
- letta_client/types/tool_type.py +0 -1
- {letta_client-0.1.231.dist-info → letta_client-0.1.233.dist-info}/METADATA +1 -1
- {letta_client-0.1.231.dist-info → letta_client-0.1.233.dist-info}/RECORD +12 -11
- {letta_client-0.1.231.dist-info → letta_client-0.1.233.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -162,6 +162,7 @@ from .types import (
|
|
|
162
162
|
MessageRole,
|
|
163
163
|
MessageSchema,
|
|
164
164
|
MessageType,
|
|
165
|
+
ModalSandboxConfig,
|
|
165
166
|
NotFoundErrorBody,
|
|
166
167
|
NotFoundErrorBodyMessage,
|
|
167
168
|
OmittedReasoningContent,
|
|
@@ -546,6 +547,7 @@ __all__ = [
|
|
|
546
547
|
"MessageRole",
|
|
547
548
|
"MessageSchema",
|
|
548
549
|
"MessageType",
|
|
550
|
+
"ModalSandboxConfig",
|
|
549
551
|
"NotFoundError",
|
|
550
552
|
"NotFoundErrorBody",
|
|
551
553
|
"NotFoundErrorBodyMessage",
|
|
@@ -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.233",
|
|
28
28
|
}
|
|
29
29
|
if self._project is not None:
|
|
30
30
|
headers["X-Project"] = self._project
|
letta_client/types/__init__.py
CHANGED
|
@@ -161,6 +161,7 @@ from .message_create_role import MessageCreateRole
|
|
|
161
161
|
from .message_role import MessageRole
|
|
162
162
|
from .message_schema import MessageSchema
|
|
163
163
|
from .message_type import MessageType
|
|
164
|
+
from .modal_sandbox_config import ModalSandboxConfig
|
|
164
165
|
from .not_found_error_body import NotFoundErrorBody
|
|
165
166
|
from .not_found_error_body_message import NotFoundErrorBodyMessage
|
|
166
167
|
from .omitted_reasoning_content import OmittedReasoningContent
|
|
@@ -431,6 +432,7 @@ __all__ = [
|
|
|
431
432
|
"MessageRole",
|
|
432
433
|
"MessageSchema",
|
|
433
434
|
"MessageType",
|
|
435
|
+
"ModalSandboxConfig",
|
|
434
436
|
"NotFoundErrorBody",
|
|
435
437
|
"NotFoundErrorBodyMessage",
|
|
436
438
|
"OmittedReasoningContent",
|
|
@@ -9,9 +9,6 @@ ChatCompletionAudioParamVoice = typing.Union[
|
|
|
9
9
|
typing.Literal["ballad"],
|
|
10
10
|
typing.Literal["coral"],
|
|
11
11
|
typing.Literal["echo"],
|
|
12
|
-
typing.Literal["fable"],
|
|
13
|
-
typing.Literal["onyx"],
|
|
14
|
-
typing.Literal["nova"],
|
|
15
12
|
typing.Literal["sage"],
|
|
16
13
|
typing.Literal["shimmer"],
|
|
17
14
|
typing.Literal["verse"],
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ModalSandboxConfig(UncheckedBaseModel):
|
|
10
|
+
timeout: typing.Optional[int] = pydantic.Field(default=None)
|
|
11
|
+
"""
|
|
12
|
+
Time limit for the sandbox (in seconds).
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
pip_requirements: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
16
|
+
"""
|
|
17
|
+
A list of pip packages to install in the Modal sandbox
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
if IS_PYDANTIC_V2:
|
|
21
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
22
|
+
else:
|
|
23
|
+
|
|
24
|
+
class Config:
|
|
25
|
+
frozen = True
|
|
26
|
+
smart_union = True
|
|
27
|
+
extra = pydantic.Extra.allow
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
from .local_sandbox_config import LocalSandboxConfig
|
|
5
5
|
from .e_2_b_sandbox_config import E2BSandboxConfig
|
|
6
|
+
from .modal_sandbox_config import ModalSandboxConfig
|
|
6
7
|
|
|
7
|
-
SandboxConfigCreateConfig = typing.Union[LocalSandboxConfig, E2BSandboxConfig]
|
|
8
|
+
SandboxConfigCreateConfig = typing.Union[LocalSandboxConfig, E2BSandboxConfig, ModalSandboxConfig]
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
from .local_sandbox_config import LocalSandboxConfig
|
|
5
5
|
from .e_2_b_sandbox_config import E2BSandboxConfig
|
|
6
|
+
from .modal_sandbox_config import ModalSandboxConfig
|
|
6
7
|
|
|
7
|
-
SandboxConfigUpdateConfig = typing.Union[LocalSandboxConfig, E2BSandboxConfig]
|
|
8
|
+
SandboxConfigUpdateConfig = typing.Union[LocalSandboxConfig, E2BSandboxConfig, ModalSandboxConfig]
|
letta_client/types/tool_type.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=aQY3x4m-iNBAFkcRt5jCPMiIdaUVvvS8Q-r2ikusFVE,19752
|
|
2
2
|
letta_client/agents/__init__.py,sha256=9wEJMighDL1OFg_7Qh-D50bubPbV4BWo1ZKYxdDJGIQ,2146
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=kCAcU1ACOKRCrjEYPyCQslWBjtsq7m4QboQP0wwLQy8,25392
|
|
@@ -75,7 +75,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
75
75
|
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
|
|
76
76
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
77
77
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
78
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
78
|
+
letta_client/core/client_wrapper.py,sha256=YUuPoVJa6GPu_-BQvCeQZYVLWH5IpGTOWE2k2jY4uow,2336
|
|
79
79
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
80
80
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
81
81
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -181,7 +181,7 @@ letta_client/tools/types/streaming_response.py,sha256=E7W0OqxHFmhU2slJdzVZBxQA50
|
|
|
181
181
|
letta_client/tools/types/test_mcp_server_request.py,sha256=sLlOEZdmLfkHqHCkUjntGbr8_MkBhsqpMQ-HwdNOnq0,372
|
|
182
182
|
letta_client/tools/types/update_mcp_server_request.py,sha256=nCpx9-OvpH0l5iJxEi8kgSok1F1r7liEAZm-kaqBtEo,402
|
|
183
183
|
letta_client/tools/types/update_mcp_server_response.py,sha256=muwHagaQBMwQI0of9EBCBtG9lD-jELFAevgTB2MjpFQ,375
|
|
184
|
-
letta_client/types/__init__.py,sha256=
|
|
184
|
+
letta_client/types/__init__.py,sha256=yHuioExKcmdJa7htjMS4JkCWAdYH6bZlSKrcCB4WKF8,23404
|
|
185
185
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
186
186
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
187
187
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -212,7 +212,7 @@ letta_client/types/chat_completion_assistant_message_param_content.py,sha256=CJ7
|
|
|
212
212
|
letta_client/types/chat_completion_assistant_message_param_content_item.py,sha256=tF-E0jNH0ilRJgm4vPTqHguCb-TZZ0LJfTXxOnon23w,405
|
|
213
213
|
letta_client/types/chat_completion_audio_param.py,sha256=l3hMhCWVDglmqmVezfuemQZoEevpndfyKJBDLu0_t-U,795
|
|
214
214
|
letta_client/types/chat_completion_audio_param_format.py,sha256=_Jk2jCTMnQIi3tekbyca3izfaX-1Dkj_Jjc7-jai0D0,200
|
|
215
|
-
letta_client/types/chat_completion_audio_param_voice.py,sha256=
|
|
215
|
+
letta_client/types/chat_completion_audio_param_voice.py,sha256=BuZrNqrHNA-QyynayuzTcJgE3QfTUUre6t5C6dRu3ug,368
|
|
216
216
|
letta_client/types/chat_completion_content_part_image_param.py,sha256=dUQIFiDbyebgPEpVJJlDvZ5pcoly3LuGq-4fxojDbBc,674
|
|
217
217
|
letta_client/types/chat_completion_content_part_input_audio_param.py,sha256=-RGWHcpNdJQg82E8QhRve2QJQehma91k8eqGqeH29hc,691
|
|
218
218
|
letta_client/types/chat_completion_content_part_refusal_param.py,sha256=krYl75gasdI3f11V7fxkjWaf0_eyUoAjVZdMr91_BJg,633
|
|
@@ -343,6 +343,7 @@ letta_client/types/message_create_role.py,sha256=PWbew2WtK-36P4d3Nuvq4QNLDAPntsG
|
|
|
343
343
|
letta_client/types/message_role.py,sha256=HKatrA1jt02oTObExloTY3rW8Urzn37kBTg0Z6MbwkQ,186
|
|
344
344
|
letta_client/types/message_schema.py,sha256=NmKkV3auKKQpXGoQkhfSUDAm6WLQ6Q4RGCtFLJqe48g,996
|
|
345
345
|
letta_client/types/message_type.py,sha256=cEx51Mpt5B4g1QI0QzG81IYS-9lHmTTj_HokHOkJU0M,357
|
|
346
|
+
letta_client/types/modal_sandbox_config.py,sha256=h8NC3oEs1z3I786SAUNUYFkW0DjrKE36mV4kE2d_msw,838
|
|
346
347
|
letta_client/types/not_found_error_body.py,sha256=_1esSlUdkBx6CRs6aAIJrxzh3VZKEG0xzeLbxebBuy0,615
|
|
347
348
|
letta_client/types/not_found_error_body_message.py,sha256=Kc9xrVghgDATdPAGpTPnzyKe6ds5q8Vr6zcBU5lLcH4,309
|
|
348
349
|
letta_client/types/omitted_reasoning_content.py,sha256=gIhWRyVtfB-Jo0Ua3QpyJNag2m_yRpusoPTcZZxjKh0,622
|
|
@@ -377,13 +378,13 @@ letta_client/types/round_robin_manager_update.py,sha256=EKdEbaXBWyzsiR1TApBkmvhy
|
|
|
377
378
|
letta_client/types/run.py,sha256=kYD_02l4Akr2X9biuQBbYLAX0MZCGyS3YWf_7Ow-mXo,3110
|
|
378
379
|
letta_client/types/sandbox_config.py,sha256=nvVdB0WnK_-bEHIehvBGiiD0hvujA93Ko4FuGMAJDdk,1550
|
|
379
380
|
letta_client/types/sandbox_config_create.py,sha256=eP3Bg9JsROEQEEXm9zo-AJb5QvinO1fQkbDhNcfAUt0,730
|
|
380
|
-
letta_client/types/sandbox_config_create_config.py,sha256=
|
|
381
|
+
letta_client/types/sandbox_config_create_config.py,sha256=xddiO71WRdW9Tfqyu7Q19UHHaRKfQLVXV_WbPNrN9Kc,336
|
|
381
382
|
letta_client/types/sandbox_config_update.py,sha256=aV_I4zd558W30BPz1HWJ2ub2HVdZwXTtICtEfAJdRXM,840
|
|
382
|
-
letta_client/types/sandbox_config_update_config.py,sha256=
|
|
383
|
+
letta_client/types/sandbox_config_update_config.py,sha256=hSzprzSSjXA2rPbMczjMdacplEWBjI2R00c9lJ8Ezbw,336
|
|
383
384
|
letta_client/types/sandbox_environment_variable.py,sha256=wqOx9q9IeVTRvlz9UPa4DtbNgu7p7AauN1vp6KAC8kY,1720
|
|
384
385
|
letta_client/types/sandbox_environment_variable_create.py,sha256=AhGE8ITStXkPOfPXjpbiC1oaYC4PEKIklZIsYZ0topI,890
|
|
385
386
|
letta_client/types/sandbox_environment_variable_update.py,sha256=JMkX6nzvcBNEemjvBmyHDezci3Bn7epKhMnvFY_--EA,948
|
|
386
|
-
letta_client/types/sandbox_type.py,sha256=
|
|
387
|
+
letta_client/types/sandbox_type.py,sha256=ZaZNcRf9l39PZQTGjRucRFJFpkxOrrBBcwhiT2bSIiE,160
|
|
387
388
|
letta_client/types/sleeptime_manager.py,sha256=oKI3CCoA4guwktWs1bbPdCmv9jg94EeMvbXQWvzbt6M,778
|
|
388
389
|
letta_client/types/sleeptime_manager_update.py,sha256=JMzgtvGMDI5VBzlTuzm4FpuFAL7uwPbQgN9TYxip93s,813
|
|
389
390
|
letta_client/types/source.py,sha256=EELyis2796C75CPBVh5Yu9s7qw2nCszu7QgtpR3wPr4,2370
|
|
@@ -419,7 +420,7 @@ letta_client/types/tool_return_message.py,sha256=HS9IfCTgfAY8N3KLkCT70Xhp6GG84Om
|
|
|
419
420
|
letta_client/types/tool_return_message_status.py,sha256=FvFOMaG9mnmgnHi2UBQVQQMtHFabbWnQnHTxGUDgVl0,167
|
|
420
421
|
letta_client/types/tool_return_status.py,sha256=TQjwYprn5F_jU9kIbrtiyk7Gw2SjcmFFZLjFbGDpBM0,160
|
|
421
422
|
letta_client/types/tool_schema.py,sha256=q5iRbpiIqWpNvXeDCi7BUyDbQzBKUnTIXEIAujn1bxw,1122
|
|
422
|
-
letta_client/types/tool_type.py,sha256=
|
|
423
|
+
letta_client/types/tool_type.py,sha256=7-NJ8qxobvVnM9Rqr08i-klynRS5ha-HoVevXUS8aUs,429
|
|
423
424
|
letta_client/types/update_assistant_message.py,sha256=D-51o8uXk3X_2Fb2zJ4KoMeRxPiDWaCb3ugRfjBMCTI,878
|
|
424
425
|
letta_client/types/update_assistant_message_content.py,sha256=rh3DP_SpxyBNnf0EDtoaKmPIPV-cXRSFju33NbHgeF0,247
|
|
425
426
|
letta_client/types/update_reasoning_message.py,sha256=2ejxLRNfVDWBfGQG2-A1JNq-DujOfT7AKXCmyH_RApc,650
|
|
@@ -449,6 +450,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
|
|
|
449
450
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
450
451
|
letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
451
452
|
letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
|
|
452
|
-
letta_client-0.1.
|
|
453
|
-
letta_client-0.1.
|
|
454
|
-
letta_client-0.1.
|
|
453
|
+
letta_client-0.1.233.dist-info/METADATA,sha256=LLt2lDmVuhF0jhbOLc6rH8NNJ2CWiLaqxvrSm-lmWiU,5064
|
|
454
|
+
letta_client-0.1.233.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
455
|
+
letta_client-0.1.233.dist-info/RECORD,,
|
|
File without changes
|