letta-client 0.1.94__py3-none-any.whl → 0.1.95__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 CHANGED
@@ -19,7 +19,6 @@ from .types import (
19
19
  AuthRequest,
20
20
  AuthResponse,
21
21
  AuthSchemeField,
22
- BackgroundManager,
23
22
  BaseToolRuleSchema,
24
23
  Block,
25
24
  BlockUpdate,
@@ -169,6 +168,7 @@ from .types import (
169
168
  SandboxEnvironmentVariableCreate,
170
169
  SandboxEnvironmentVariableUpdate,
171
170
  SandboxType,
171
+ SleeptimeManager,
172
172
  Source,
173
173
  SseServerConfig,
174
174
  StdioServerConfig,
@@ -284,7 +284,6 @@ __all__ = [
284
284
  "AuthRequest",
285
285
  "AuthResponse",
286
286
  "AuthSchemeField",
287
- "BackgroundManager",
288
287
  "BaseToolRuleSchema",
289
288
  "Block",
290
289
  "BlockUpdate",
@@ -445,6 +444,7 @@ __all__ = [
445
444
  "SandboxEnvironmentVariableCreate",
446
445
  "SandboxEnvironmentVariableUpdate",
447
446
  "SandboxType",
447
+ "SleeptimeManager",
448
448
  "Source",
449
449
  "SseServerConfig",
450
450
  "StdioServerConfig",
@@ -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.94",
19
+ "X-Fern-SDK-Version": "0.1.95",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -1,9 +1,9 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  import typing
4
- from ...types.background_manager import BackgroundManager
5
4
  from ...types.dynamic_manager import DynamicManager
6
5
  from ...types.round_robin_manager import RoundRobinManager
6
+ from ...types.sleeptime_manager import SleeptimeManager
7
7
  from ...types.supervisor_manager import SupervisorManager
8
8
 
9
- GroupCreateManagerConfig = typing.Union[BackgroundManager, DynamicManager, RoundRobinManager, SupervisorManager]
9
+ GroupCreateManagerConfig = typing.Union[DynamicManager, RoundRobinManager, SleeptimeManager, SupervisorManager]
@@ -1,9 +1,9 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  import typing
4
- from ...types.background_manager import BackgroundManager
5
4
  from ...types.dynamic_manager import DynamicManager
6
5
  from ...types.round_robin_manager import RoundRobinManager
6
+ from ...types.sleeptime_manager import SleeptimeManager
7
7
  from ...types.supervisor_manager import SupervisorManager
8
8
 
9
- GroupUpdateManagerConfig = typing.Union[BackgroundManager, DynamicManager, RoundRobinManager, SupervisorManager]
9
+ GroupUpdateManagerConfig = typing.Union[DynamicManager, RoundRobinManager, SleeptimeManager, SupervisorManager]
@@ -18,7 +18,6 @@ from .audio import Audio
18
18
  from .auth_request import AuthRequest
19
19
  from .auth_response import AuthResponse
20
20
  from .auth_scheme_field import AuthSchemeField
21
- from .background_manager import BackgroundManager
22
21
  from .base_tool_rule_schema import BaseToolRuleSchema
23
22
  from .block import Block
24
23
  from .block_update import BlockUpdate
@@ -172,6 +171,7 @@ from .sandbox_environment_variable import SandboxEnvironmentVariable
172
171
  from .sandbox_environment_variable_create import SandboxEnvironmentVariableCreate
173
172
  from .sandbox_environment_variable_update import SandboxEnvironmentVariableUpdate
174
173
  from .sandbox_type import SandboxType
174
+ from .sleeptime_manager import SleeptimeManager
175
175
  from .source import Source
176
176
  from .sse_server_config import SseServerConfig
177
177
  from .stdio_server_config import StdioServerConfig
@@ -235,7 +235,6 @@ __all__ = [
235
235
  "AuthRequest",
236
236
  "AuthResponse",
237
237
  "AuthSchemeField",
238
- "BackgroundManager",
239
238
  "BaseToolRuleSchema",
240
239
  "Block",
241
240
  "BlockUpdate",
@@ -385,6 +384,7 @@ __all__ = [
385
384
  "SandboxEnvironmentVariableCreate",
386
385
  "SandboxEnvironmentVariableUpdate",
387
386
  "SandboxType",
387
+ "SleeptimeManager",
388
388
  "Source",
389
389
  "SseServerConfig",
390
390
  "StdioServerConfig",
@@ -48,7 +48,7 @@ class Group(UncheckedBaseModel):
48
48
 
49
49
  """
50
50
 
51
- background_agents_frequency: typing.Optional[int] = pydantic.Field(default=None)
51
+ sleeptime_agent_frequency: typing.Optional[int] = pydantic.Field(default=None)
52
52
  """
53
53
 
54
54
  """
@@ -2,4 +2,4 @@
2
2
 
3
3
  import typing
4
4
 
5
- ManagerType = typing.Union[typing.Literal["round_robin", "supervisor", "dynamic", "background", "swarm"], typing.Any]
5
+ ManagerType = typing.Union[typing.Literal["round_robin", "supervisor", "dynamic", "sleeptime", "swarm"], typing.Any]
@@ -6,14 +6,14 @@ import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
7
 
8
8
 
9
- class BackgroundManager(UncheckedBaseModel):
10
- manager_type: typing.Literal["background"] = "background"
9
+ class SleeptimeManager(UncheckedBaseModel):
10
+ manager_type: typing.Literal["sleeptime"] = "sleeptime"
11
11
  manager_agent_id: str = pydantic.Field()
12
12
  """
13
13
 
14
14
  """
15
15
 
16
- background_agents_frequency: typing.Optional[int] = pydantic.Field(default=None)
16
+ sleeptime_agent_frequency: typing.Optional[int] = pydantic.Field(default=None)
17
17
  """
18
18
 
19
19
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.94
3
+ Version: 0.1.95
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- letta_client/__init__.py,sha256=QOCi_TZw9n2xd2R32yJ3SuYApK069gfGzIy1LQctwf0,14273
1
+ letta_client/__init__.py,sha256=9uCx4KMFIArh1ADJkT-Yqzkf09Y1xlzXBdNlb4Gc7ak,14271
2
2
  letta_client/agents/__init__.py,sha256=CveigJGrnkw3yZ8S9yZ2DpK1HV0v1fU-khsiLJJ0uaU,1452
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
@@ -44,7 +44,7 @@ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw
44
44
  letta_client/client.py,sha256=k2mZqqEWciVmEQHgipjCK4kQILk74hpSqzcdNwdql9A,21212
45
45
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
46
46
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
47
- letta_client/core/client_wrapper.py,sha256=ksq56smIhlnTqG46cuzpyPejFNQG_Blf1GKjDad1Zoc,1997
47
+ letta_client/core/client_wrapper.py,sha256=7w9mU3h_aDqnpUXNrZ7KBE-DY_F2U7BGlIJW4iomFdE,1997
48
48
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
49
49
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
50
50
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -70,8 +70,8 @@ letta_client/groups/messages/types/letta_streaming_response.py,sha256=MdE2PxQ1x1
70
70
  letta_client/groups/messages/types/messages_modify_request.py,sha256=7C2X3BKye-YDSXOkdEmxxt34seI4jkLK0-govtc4nhg,475
71
71
  letta_client/groups/messages/types/messages_modify_response.py,sha256=THyiUMxZyzVSp0kk1s0XOLW1LUass7mXcfFER1PTLyw,671
72
72
  letta_client/groups/types/__init__.py,sha256=qJDnHshh2Gj4Up09LcsHqoa9e0c7lOeSp63HMgWQ_hc,265
73
- letta_client/groups/types/group_create_manager_config.py,sha256=agQuvoZpRq1BwLty_lUVNm3RYhUj5c3ivURat71M69k,420
74
- letta_client/groups/types/group_update_manager_config.py,sha256=9QuvWtCeHkVsT5y4hgckNj59NR2UtY6XvSrtahkNWqk,420
73
+ letta_client/groups/types/group_create_manager_config.py,sha256=-g4W8dUsNwyNFhG4Kyk9iF963rSnSKa9UHCvioyQdL4,417
74
+ letta_client/groups/types/group_update_manager_config.py,sha256=0Qi6xnbycDdY237V2IaZt3MyCiubMBb-T3u2VcqWccs,417
75
75
  letta_client/health/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
76
76
  letta_client/health/client.py,sha256=6BjXH83ZhsLt_MD4QA2hiTsvgfeIgxMT1KSN0Oj6e1I,3242
77
77
  letta_client/identities/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -106,7 +106,7 @@ letta_client/tools/types/add_mcp_server_request.py,sha256=EieZjfOT95sjkpxXdqy7gl
106
106
  letta_client/tools/types/add_mcp_server_response_item.py,sha256=TWdsKqGb1INhYtpGnAckz0Pw4nZShumSp4pfocRfxCA,270
107
107
  letta_client/tools/types/delete_mcp_server_response_item.py,sha256=MeZObU-7tMSCd-S5yuUjNDse6A1hUz1LLjbko0pXaro,273
108
108
  letta_client/tools/types/list_mcp_servers_response_value.py,sha256=AIoXu4bO8QNSU7zjL1jj0Rg4313wVtPaTt13W0aevLQ,273
109
- letta_client/types/__init__.py,sha256=ewKCVdbxNwx_oCgbXd6a4EBc1pDcJaEU2IPhadKwEE8,19159
109
+ letta_client/types/__init__.py,sha256=mvsrVjScPnFriGz71-UsgicwQqMfPZeU0YDscVQ72QU,19156
110
110
  letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
111
111
  letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
112
112
  letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
@@ -125,7 +125,6 @@ letta_client/types/audio.py,sha256=aCgzL9SmkmM4yU7hy2IWwPrC-wtllplo3dQF9mjk7Fg,5
125
125
  letta_client/types/auth_request.py,sha256=q63VMj39aCmljDuzUeAClXEqyaoa_HKv5IraSv8ry9M,683
126
126
  letta_client/types/auth_response.py,sha256=jtG9Nn0voJcOWkBtvnuGGwhpUhYz9A8O7soOJZo_E_E,861
127
127
  letta_client/types/auth_scheme_field.py,sha256=W4-qgKtKUSpBHaSvjLyzLybOIsGo7Ggk4VECpsoPnqQ,881
128
- letta_client/types/background_manager.py,sha256=k7LVJybfUNbcFYpNUDTtQmhWfvx5iCfgTm3rcchOtL0,783
129
128
  letta_client/types/base_tool_rule_schema.py,sha256=FbnJy6gb8wY_DPiU3Gs-u1Ol_l4K7-nAmPTc1oR3kOo,582
130
129
  letta_client/types/block.py,sha256=J8McqSpellhd-KsPYontU8DYg3YV41_fQW5rR-85qMk,2900
131
130
  letta_client/types/block_update.py,sha256=oIgxvSnav5vxztBdslRMiWOgRaAp3dh43pinZpoLzxk,1496
@@ -199,7 +198,7 @@ letta_client/types/function_definition_input.py,sha256=UpoD7ftRpHquJ5zhy28TjXPBV
199
198
  letta_client/types/function_definition_output.py,sha256=Id0SzyiMHF5l25iKQhCN4sWJwBJ7AkYK-I5RDZy3_rc,741
200
199
  letta_client/types/function_output.py,sha256=7b8550BllXxtZQ3T3jfvZjcCU_ZGWNBvjlrMB8S2xas,578
201
200
  letta_client/types/function_tool.py,sha256=TOETpZdqgPIgd4g9JFo3yvDBpTx4lDFzJNZH8PxAjpI,697
202
- letta_client/types/group.py,sha256=wJhtodBAXGlOPa99P7a1acTrlC553YqaccW8gktstgM,1574
201
+ letta_client/types/group.py,sha256=UxCx2xNPjv41AB33GsxY4G0mBxVkx8AyJqu7DHYP7hM,1572
203
202
  letta_client/types/health.py,sha256=nQwx5ysn_cJMKUoqsfaPcGNSRSjfwX5S272UiSQJ03w,618
204
203
  letta_client/types/hidden_reasoning_message.py,sha256=5FeatBGNFbpXYKgLwL92Q6bzk3Ew4IaTGGVwEcQvrMU,1485
205
204
  letta_client/types/hidden_reasoning_message_state.py,sha256=qotAgF_P4T7OEHzbhGDVFaLZYOs1ULMPVHmiFvoRIfM,174
@@ -230,7 +229,7 @@ letta_client/types/letta_usage_statistics.py,sha256=k6V72J2TEPd-RQBuUQxF3oylrAMc
230
229
  letta_client/types/llm_config.py,sha256=cycdnu-lgQsLsFmFQrc9S_O20snEdxRLcvwWwLMFnik,3441
231
230
  letta_client/types/llm_config_model_endpoint_type.py,sha256=HOSM5kIZDCNAVCWmASvAk52K819plqGlD66yKQ1xFkI,620
232
231
  letta_client/types/local_sandbox_config.py,sha256=jfe7akG_YrJJ8csLaLdev04Zg1x-PTN0XCAL4KifaZI,1387
233
- letta_client/types/manager_type.py,sha256=twOcUEtFo-S3g8nPC9KqyD_AWmES1BOVb5RNxjDNWPE,198
232
+ letta_client/types/manager_type.py,sha256=GyGqWAihoS81T4RJtOcVSbiOSy-v1cpCWfRB_qU46Y0,197
234
233
  letta_client/types/max_count_per_step_tool_rule.py,sha256=sUhnoL1jolz2sygrmCuF4KfaDUGlBui-FGCXR5762Nc,1056
235
234
  letta_client/types/max_count_per_step_tool_rule_schema.py,sha256=1Zq4vblRTqFycqk7cBQ3gVCUy-MPWvE_tNXV5Fz0VTs,618
236
235
  letta_client/types/mcp_server_type.py,sha256=Hv45mKMPzmey2UVjwrTAvWXP1sDd13UwAtvtogBloLo,153
@@ -275,6 +274,7 @@ letta_client/types/sandbox_environment_variable.py,sha256=wqOx9q9IeVTRvlz9UPa4Dt
275
274
  letta_client/types/sandbox_environment_variable_create.py,sha256=AhGE8ITStXkPOfPXjpbiC1oaYC4PEKIklZIsYZ0topI,890
276
275
  letta_client/types/sandbox_environment_variable_update.py,sha256=JMkX6nzvcBNEemjvBmyHDezci3Bn7epKhMnvFY_--EA,948
277
276
  letta_client/types/sandbox_type.py,sha256=XSWmX3JIFFrDPQ4i89E8LauXY8kjmJEtaz6e_JheGm4,151
277
+ letta_client/types/sleeptime_manager.py,sha256=oKI3CCoA4guwktWs1bbPdCmv9jg94EeMvbXQWvzbt6M,778
278
278
  letta_client/types/source.py,sha256=7tLptZ4AZrvRPF6NqToM4Vf9i7TosS2_Ydks4zfvZx4,2239
279
279
  letta_client/types/sse_server_config.py,sha256=b-h5FLm5MELZ5A9bwZt-02Zx_f3UbfKAQS--yHQVOQU,844
280
280
  letta_client/types/stdio_server_config.py,sha256=dEQ7bguiLikGemLxYZJ3JCmmEQgAMsSPO_P52oHZSl0,1091
@@ -323,6 +323,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
323
323
  letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
324
324
  letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
325
325
  letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
326
- letta_client-0.1.94.dist-info/METADATA,sha256=N-GmmPCl5OXReJnQD25vA0KJu7mDDN3NMaT_te6FQZ4,5041
327
- letta_client-0.1.94.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
328
- letta_client-0.1.94.dist-info/RECORD,,
326
+ letta_client-0.1.95.dist-info/METADATA,sha256=nr20H0pFdR0fK2EAcFw-FY5UYWESll4t_6YHiRiEBOA,5041
327
+ letta_client-0.1.95.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
328
+ letta_client-0.1.95.dist-info/RECORD,,