letta-client 0.1.130__py3-none-any.whl → 0.1.131__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.
- letta_client/__init__.py +4 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/groups/types/group_create_manager_config.py +4 -1
- letta_client/groups/types/group_update_manager_config.py +6 -1
- letta_client/types/__init__.py +4 -0
- letta_client/types/manager_type.py +3 -1
- letta_client/types/message_create_role.py +1 -1
- letta_client/types/voice_sleeptime_manager.py +23 -0
- letta_client/types/voice_sleeptime_manager_update.py +23 -0
- {letta_client-0.1.130.dist-info → letta_client-0.1.131.dist-info}/METADATA +1 -1
- {letta_client-0.1.130.dist-info → letta_client-0.1.131.dist-info}/RECORD +12 -10
- {letta_client-0.1.130.dist-info → letta_client-0.1.131.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -222,6 +222,8 @@ from .types import (
|
|
|
222
222
|
UserUpdate,
|
|
223
223
|
ValidationError,
|
|
224
224
|
ValidationErrorLocItem,
|
|
225
|
+
VoiceSleeptimeManager,
|
|
226
|
+
VoiceSleeptimeManagerUpdate,
|
|
225
227
|
WebSearchOptions,
|
|
226
228
|
WebSearchOptionsSearchContextSize,
|
|
227
229
|
WebSearchOptionsUserLocation,
|
|
@@ -543,6 +545,8 @@ __all__ = [
|
|
|
543
545
|
"UserUpdate",
|
|
544
546
|
"ValidationError",
|
|
545
547
|
"ValidationErrorLocItem",
|
|
548
|
+
"VoiceSleeptimeManager",
|
|
549
|
+
"VoiceSleeptimeManagerUpdate",
|
|
546
550
|
"WebSearchOptions",
|
|
547
551
|
"WebSearchOptionsSearchContextSize",
|
|
548
552
|
"WebSearchOptionsUserLocation",
|
|
@@ -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.131",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
|
@@ -5,5 +5,8 @@ from ...types.dynamic_manager import DynamicManager
|
|
|
5
5
|
from ...types.round_robin_manager import RoundRobinManager
|
|
6
6
|
from ...types.sleeptime_manager import SleeptimeManager
|
|
7
7
|
from ...types.supervisor_manager import SupervisorManager
|
|
8
|
+
from ...types.voice_sleeptime_manager import VoiceSleeptimeManager
|
|
8
9
|
|
|
9
|
-
GroupCreateManagerConfig = typing.Union[
|
|
10
|
+
GroupCreateManagerConfig = typing.Union[
|
|
11
|
+
DynamicManager, RoundRobinManager, SleeptimeManager, SupervisorManager, VoiceSleeptimeManager
|
|
12
|
+
]
|
|
@@ -5,7 +5,12 @@ from ...types.dynamic_manager_update import DynamicManagerUpdate
|
|
|
5
5
|
from ...types.round_robin_manager_update import RoundRobinManagerUpdate
|
|
6
6
|
from ...types.sleeptime_manager_update import SleeptimeManagerUpdate
|
|
7
7
|
from ...types.supervisor_manager_update import SupervisorManagerUpdate
|
|
8
|
+
from ...types.voice_sleeptime_manager_update import VoiceSleeptimeManagerUpdate
|
|
8
9
|
|
|
9
10
|
GroupUpdateManagerConfig = typing.Union[
|
|
10
|
-
DynamicManagerUpdate,
|
|
11
|
+
DynamicManagerUpdate,
|
|
12
|
+
RoundRobinManagerUpdate,
|
|
13
|
+
SleeptimeManagerUpdate,
|
|
14
|
+
SupervisorManagerUpdate,
|
|
15
|
+
VoiceSleeptimeManagerUpdate,
|
|
11
16
|
]
|
letta_client/types/__init__.py
CHANGED
|
@@ -225,6 +225,8 @@ from .user_message_content import UserMessageContent
|
|
|
225
225
|
from .user_update import UserUpdate
|
|
226
226
|
from .validation_error import ValidationError
|
|
227
227
|
from .validation_error_loc_item import ValidationErrorLocItem
|
|
228
|
+
from .voice_sleeptime_manager import VoiceSleeptimeManager
|
|
229
|
+
from .voice_sleeptime_manager_update import VoiceSleeptimeManagerUpdate
|
|
228
230
|
from .web_search_options import WebSearchOptions
|
|
229
231
|
from .web_search_options_search_context_size import WebSearchOptionsSearchContextSize
|
|
230
232
|
from .web_search_options_user_location import WebSearchOptionsUserLocation
|
|
@@ -452,6 +454,8 @@ __all__ = [
|
|
|
452
454
|
"UserUpdate",
|
|
453
455
|
"ValidationError",
|
|
454
456
|
"ValidationErrorLocItem",
|
|
457
|
+
"VoiceSleeptimeManager",
|
|
458
|
+
"VoiceSleeptimeManagerUpdate",
|
|
455
459
|
"WebSearchOptions",
|
|
456
460
|
"WebSearchOptionsSearchContextSize",
|
|
457
461
|
"WebSearchOptionsUserLocation",
|
|
@@ -2,4 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
ManagerType = typing.Union[
|
|
5
|
+
ManagerType = typing.Union[
|
|
6
|
+
typing.Literal["round_robin", "supervisor", "dynamic", "sleeptime", "voice_sleeptime", "swarm"], typing.Any
|
|
7
|
+
]
|
|
@@ -0,0 +1,23 @@
|
|
|
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 VoiceSleeptimeManager(UncheckedBaseModel):
|
|
10
|
+
manager_type: typing.Literal["voice_sleeptime"] = "voice_sleeptime"
|
|
11
|
+
manager_agent_id: str = pydantic.Field()
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
frozen = True
|
|
22
|
+
smart_union = True
|
|
23
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,23 @@
|
|
|
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 VoiceSleeptimeManagerUpdate(UncheckedBaseModel):
|
|
10
|
+
manager_type: typing.Literal["voice_sleeptime"] = "voice_sleeptime"
|
|
11
|
+
manager_agent_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
frozen = True
|
|
22
|
+
smart_union = True
|
|
23
|
+
extra = pydantic.Extra.allow
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=78G1gGcNH5SIshuRtzbH8oOwU9n8jV6monmpUhXy5aQ,16519
|
|
2
2
|
letta_client/agents/__init__.py,sha256=3oFWVxaaxkphkjGJVk31Llb9ll9dKoCGx3B_r3qqtes,1716
|
|
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
|
|
@@ -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=6yAQkJjkh1iZ9vZpcaIjq2RhTCGNCDEaacd5tjMwids,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
|
|
@@ -93,8 +93,8 @@ letta_client/groups/messages/types/letta_streaming_response.py,sha256=MdE2PxQ1x1
|
|
|
93
93
|
letta_client/groups/messages/types/messages_modify_request.py,sha256=7C2X3BKye-YDSXOkdEmxxt34seI4jkLK0-govtc4nhg,475
|
|
94
94
|
letta_client/groups/messages/types/messages_modify_response.py,sha256=THyiUMxZyzVSp0kk1s0XOLW1LUass7mXcfFER1PTLyw,671
|
|
95
95
|
letta_client/groups/types/__init__.py,sha256=qJDnHshh2Gj4Up09LcsHqoa9e0c7lOeSp63HMgWQ_hc,265
|
|
96
|
-
letta_client/groups/types/group_create_manager_config.py,sha256
|
|
97
|
-
letta_client/groups/types/group_update_manager_config.py,sha256=
|
|
96
|
+
letta_client/groups/types/group_create_manager_config.py,sha256=6OKDvkQCacKmoFM0KoERteHPEn6Q2pYEp0wPHhjPQuk,513
|
|
97
|
+
letta_client/groups/types/group_update_manager_config.py,sha256=JXUmqWkQWiycUkoxIBKUaOldS5Mj-08onwjePKwNUfE,625
|
|
98
98
|
letta_client/health/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
99
99
|
letta_client/health/client.py,sha256=6BjXH83ZhsLt_MD4QA2hiTsvgfeIgxMT1KSN0Oj6e1I,3242
|
|
100
100
|
letta_client/identities/__init__.py,sha256=bnFuyXLGO2qat5VgmZkdN7FVl74I_G7bPYDdKjyMM-Y,116
|
|
@@ -147,7 +147,7 @@ letta_client/tools/types/add_mcp_server_request.py,sha256=EieZjfOT95sjkpxXdqy7gl
|
|
|
147
147
|
letta_client/tools/types/add_mcp_server_response_item.py,sha256=TWdsKqGb1INhYtpGnAckz0Pw4nZShumSp4pfocRfxCA,270
|
|
148
148
|
letta_client/tools/types/delete_mcp_server_response_item.py,sha256=MeZObU-7tMSCd-S5yuUjNDse6A1hUz1LLjbko0pXaro,273
|
|
149
149
|
letta_client/tools/types/list_mcp_servers_response_value.py,sha256=AIoXu4bO8QNSU7zjL1jj0Rg4313wVtPaTt13W0aevLQ,273
|
|
150
|
-
letta_client/types/__init__.py,sha256=
|
|
150
|
+
letta_client/types/__init__.py,sha256=ukBWdVASv04be9P9hSbzg1qagJHR9LGYIl5MwMnnCyM,20659
|
|
151
151
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
152
152
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
153
153
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -277,7 +277,7 @@ letta_client/types/llm_config.py,sha256=Sg1W1Jx1Ubi368RIzEhcS0wJUsFddBUq-HJ43DcB
|
|
|
277
277
|
letta_client/types/llm_config_model_endpoint_type.py,sha256=HOSM5kIZDCNAVCWmASvAk52K819plqGlD66yKQ1xFkI,620
|
|
278
278
|
letta_client/types/llm_config_reasoning_effort.py,sha256=AHL2nI5aeTfPhijnhaL3aiP8EoJhy_Wdupi2pyMm4sA,173
|
|
279
279
|
letta_client/types/local_sandbox_config.py,sha256=jfe7akG_YrJJ8csLaLdev04Zg1x-PTN0XCAL4KifaZI,1387
|
|
280
|
-
letta_client/types/manager_type.py,sha256=
|
|
280
|
+
letta_client/types/manager_type.py,sha256=3ztXv2xWw6PIgDoqqxaHwdIcssDYqdqB0KqUDSW3Bc0,222
|
|
281
281
|
letta_client/types/max_count_per_step_tool_rule.py,sha256=sUhnoL1jolz2sygrmCuF4KfaDUGlBui-FGCXR5762Nc,1056
|
|
282
282
|
letta_client/types/max_count_per_step_tool_rule_schema.py,sha256=1Zq4vblRTqFycqk7cBQ3gVCUy-MPWvE_tNXV5Fz0VTs,618
|
|
283
283
|
letta_client/types/mcp_server_type.py,sha256=Hv45mKMPzmey2UVjwrTAvWXP1sDd13UwAtvtogBloLo,153
|
|
@@ -287,7 +287,7 @@ letta_client/types/message.py,sha256=M0Kw2Sh9gET6mVN3he3Bd2GxJgpIBnptaomdUX3uybY
|
|
|
287
287
|
letta_client/types/message_content_item.py,sha256=mg2npSBRXsH7-fAwhx9YhkVbeCF3cM8pE6fPYtUDIyc,550
|
|
288
288
|
letta_client/types/message_create.py,sha256=FkABWA09E1Ra47o0g53zf7b6DqgMfT_9XXQUv30tCdw,1445
|
|
289
289
|
letta_client/types/message_create_content.py,sha256=KL3XAVKVrdsh4DZwdxKofUyehS-vnOT_VJNVzZDpE20,226
|
|
290
|
-
letta_client/types/message_create_role.py,sha256=
|
|
290
|
+
letta_client/types/message_create_role.py,sha256=PWbew2WtK-36P4d3Nuvq4QNLDAPntsGpasS_WzivyXg,172
|
|
291
291
|
letta_client/types/message_role.py,sha256=HKatrA1jt02oTObExloTY3rW8Urzn37kBTg0Z6MbwkQ,186
|
|
292
292
|
letta_client/types/message_schema.py,sha256=i7PLWd92bEltq3bSJam3c74p5zw-WdcoUqazLNmNYAw,955
|
|
293
293
|
letta_client/types/not_found_error_body.py,sha256=_1esSlUdkBx6CRs6aAIJrxzh3VZKEG0xzeLbxebBuy0,615
|
|
@@ -369,6 +369,8 @@ letta_client/types/user_message_content.py,sha256=JHOtxDEVm7FKDb6Ac2Hw7tAl5HCTDD
|
|
|
369
369
|
letta_client/types/user_update.py,sha256=0Bl1OjO7bfmlpsGQ36dSh6DH1UB_wJOTNewS0wDLkP4,731
|
|
370
370
|
letta_client/types/validation_error.py,sha256=ACDS7wL5nQbS8ymFhWljwbBJmbugNa8bs2O5xEZC3u4,680
|
|
371
371
|
letta_client/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
372
|
+
letta_client/types/voice_sleeptime_manager.py,sha256=2gwDbmH82-FxXpcK82LiNzK2HCbzr2PJGutW1yapKtI,690
|
|
373
|
+
letta_client/types/voice_sleeptime_manager_update.py,sha256=u8FjBmXcsZr_jQNbvW1fFJejs2DQ1H5I_Ks0fi5Lo1Y,725
|
|
372
374
|
letta_client/types/web_search_options.py,sha256=ENx_YMOh8Dxj6q57LvuM7Qmq_j2h5WJh9D91lbBnj90,863
|
|
373
375
|
letta_client/types/web_search_options_search_context_size.py,sha256=RgJGV4rkuaCTcaS4zsw_MWzRlTYpyNT9QqzNvpd1Gno,182
|
|
374
376
|
letta_client/types/web_search_options_user_location.py,sha256=4aXfFcwUBu7YNA5XBjfhmD6tgRb0e8LTFexmn-rkDfw,770
|
|
@@ -378,6 +380,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
|
|
|
378
380
|
letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
|
|
379
381
|
letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
|
|
380
382
|
letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
|
|
381
|
-
letta_client-0.1.
|
|
382
|
-
letta_client-0.1.
|
|
383
|
-
letta_client-0.1.
|
|
383
|
+
letta_client-0.1.131.dist-info/METADATA,sha256=83IoYDnUR0qsQSSzMKxBZpzmBD4HHBVEcR_PhOWNSWM,5042
|
|
384
|
+
letta_client-0.1.131.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
385
|
+
letta_client-0.1.131.dist-info/RECORD,,
|
|
File without changes
|