letta-client 0.1.105__py3-none-any.whl → 0.1.107__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
@@ -81,6 +81,7 @@ from .types import (
81
81
  CoreMemoryBlockSchema,
82
82
  CreateBlock,
83
83
  DynamicManager,
84
+ DynamicManagerUpdate,
84
85
  E2BSandboxConfig,
85
86
  EmbeddingConfig,
86
87
  EmbeddingConfigEmbeddingEndpointType,
@@ -98,7 +99,6 @@ from .types import (
98
99
  HiddenReasoningMessageState,
99
100
  HttpValidationError,
100
101
  Identity,
101
- IdentityCreate,
102
102
  IdentityProperty,
103
103
  IdentityPropertyType,
104
104
  IdentityPropertyValue,
@@ -159,6 +159,7 @@ from .types import (
159
159
  ResponseFormatJsonSchema,
160
160
  ResponseFormatText,
161
161
  RoundRobinManager,
162
+ RoundRobinManagerUpdate,
162
163
  Run,
163
164
  SandboxConfig,
164
165
  SandboxConfigCreate,
@@ -170,11 +171,13 @@ from .types import (
170
171
  SandboxEnvironmentVariableUpdate,
171
172
  SandboxType,
172
173
  SleeptimeManager,
174
+ SleeptimeManagerUpdate,
173
175
  Source,
174
176
  SseServerConfig,
175
177
  StdioServerConfig,
176
178
  Step,
177
179
  SupervisorManager,
180
+ SupervisorManagerUpdate,
178
181
  SystemMessage,
179
182
  TagSchema,
180
183
  TerminalToolRule,
@@ -351,6 +354,7 @@ __all__ = [
351
354
  "CreateVoiceChatCompletionsRequestBody",
352
355
  "DeleteMcpServerResponseItem",
353
356
  "DynamicManager",
357
+ "DynamicManagerUpdate",
354
358
  "E2BSandboxConfig",
355
359
  "EmbeddingConfig",
356
360
  "EmbeddingConfigEmbeddingEndpointType",
@@ -370,7 +374,6 @@ __all__ = [
370
374
  "HiddenReasoningMessageState",
371
375
  "HttpValidationError",
372
376
  "Identity",
373
- "IdentityCreate",
374
377
  "IdentityProperty",
375
378
  "IdentityPropertyType",
376
379
  "IdentityPropertyValue",
@@ -436,6 +439,7 @@ __all__ = [
436
439
  "ResponseFormatJsonSchema",
437
440
  "ResponseFormatText",
438
441
  "RoundRobinManager",
442
+ "RoundRobinManagerUpdate",
439
443
  "Run",
440
444
  "SandboxConfig",
441
445
  "SandboxConfigCreate",
@@ -447,11 +451,13 @@ __all__ = [
447
451
  "SandboxEnvironmentVariableUpdate",
448
452
  "SandboxType",
449
453
  "SleeptimeManager",
454
+ "SleeptimeManagerUpdate",
450
455
  "Source",
451
456
  "SseServerConfig",
452
457
  "StdioServerConfig",
453
458
  "Step",
454
459
  "SupervisorManager",
460
+ "SupervisorManagerUpdate",
455
461
  "SystemMessage",
456
462
  "TagSchema",
457
463
  "TemplatesCreateAgentsResponse",
@@ -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.105",
19
+ "X-Fern-SDK-Version": "0.1.107",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -1,9 +1,11 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  import typing
4
- from ...types.dynamic_manager import DynamicManager
5
- from ...types.round_robin_manager import RoundRobinManager
6
- from ...types.sleeptime_manager import SleeptimeManager
7
- from ...types.supervisor_manager import SupervisorManager
4
+ from ...types.dynamic_manager_update import DynamicManagerUpdate
5
+ from ...types.round_robin_manager_update import RoundRobinManagerUpdate
6
+ from ...types.sleeptime_manager_update import SleeptimeManagerUpdate
7
+ from ...types.supervisor_manager_update import SupervisorManagerUpdate
8
8
 
9
- GroupUpdateManagerConfig = typing.Union[DynamicManager, RoundRobinManager, SleeptimeManager, SupervisorManager]
9
+ GroupUpdateManagerConfig = typing.Union[
10
+ DynamicManagerUpdate, RoundRobinManagerUpdate, SleeptimeManagerUpdate, SupervisorManagerUpdate
11
+ ]
@@ -184,6 +184,7 @@ class IdentitiesClient:
184
184
  ),
185
185
  },
186
186
  headers={
187
+ "content-type": "application/json",
187
188
  "X-Project": str(project) if project is not None else None,
188
189
  },
189
190
  request_options=request_options,
@@ -288,6 +289,7 @@ class IdentitiesClient:
288
289
  ),
289
290
  },
290
291
  headers={
292
+ "content-type": "application/json",
291
293
  "X-Project": str(project) if project is not None else None,
292
294
  },
293
295
  request_options=request_options,
@@ -526,6 +528,79 @@ class IdentitiesClient:
526
528
  raise ApiError(status_code=_response.status_code, body=_response.text)
527
529
  raise ApiError(status_code=_response.status_code, body=_response_json)
528
530
 
531
+ def upsert_identity_properties(
532
+ self,
533
+ identity_id: str,
534
+ *,
535
+ request: typing.Sequence[IdentityProperty],
536
+ request_options: typing.Optional[RequestOptions] = None,
537
+ ) -> typing.Optional[typing.Any]:
538
+ """
539
+ Parameters
540
+ ----------
541
+ identity_id : str
542
+
543
+ request : typing.Sequence[IdentityProperty]
544
+
545
+ request_options : typing.Optional[RequestOptions]
546
+ Request-specific configuration.
547
+
548
+ Returns
549
+ -------
550
+ typing.Optional[typing.Any]
551
+ Successful Response
552
+
553
+ Examples
554
+ --------
555
+ from letta_client import IdentityProperty, Letta
556
+
557
+ client = Letta(
558
+ token="YOUR_TOKEN",
559
+ )
560
+ client.identities.upsert_identity_properties(
561
+ identity_id="identity_id",
562
+ request=[
563
+ IdentityProperty(
564
+ key="key",
565
+ value="value",
566
+ type="string",
567
+ )
568
+ ],
569
+ )
570
+ """
571
+ _response = self._client_wrapper.httpx_client.request(
572
+ f"v1/identities/{jsonable_encoder(identity_id)}/properties",
573
+ method="PUT",
574
+ json=convert_and_respect_annotation_metadata(
575
+ object_=request, annotation=typing.Sequence[IdentityProperty], direction="write"
576
+ ),
577
+ request_options=request_options,
578
+ omit=OMIT,
579
+ )
580
+ try:
581
+ if 200 <= _response.status_code < 300:
582
+ return typing.cast(
583
+ typing.Optional[typing.Any],
584
+ construct_type(
585
+ type_=typing.Optional[typing.Any], # type: ignore
586
+ object_=_response.json(),
587
+ ),
588
+ )
589
+ if _response.status_code == 422:
590
+ raise UnprocessableEntityError(
591
+ typing.cast(
592
+ HttpValidationError,
593
+ construct_type(
594
+ type_=HttpValidationError, # type: ignore
595
+ object_=_response.json(),
596
+ ),
597
+ )
598
+ )
599
+ _response_json = _response.json()
600
+ except JSONDecodeError:
601
+ raise ApiError(status_code=_response.status_code, body=_response.text)
602
+ raise ApiError(status_code=_response.status_code, body=_response_json)
603
+
529
604
 
530
605
  class AsyncIdentitiesClient:
531
606
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -708,6 +783,7 @@ class AsyncIdentitiesClient:
708
783
  ),
709
784
  },
710
785
  headers={
786
+ "content-type": "application/json",
711
787
  "X-Project": str(project) if project is not None else None,
712
788
  },
713
789
  request_options=request_options,
@@ -820,6 +896,7 @@ class AsyncIdentitiesClient:
820
896
  ),
821
897
  },
822
898
  headers={
899
+ "content-type": "application/json",
823
900
  "X-Project": str(project) if project is not None else None,
824
901
  },
825
902
  request_options=request_options,
@@ -1081,3 +1158,84 @@ class AsyncIdentitiesClient:
1081
1158
  except JSONDecodeError:
1082
1159
  raise ApiError(status_code=_response.status_code, body=_response.text)
1083
1160
  raise ApiError(status_code=_response.status_code, body=_response_json)
1161
+
1162
+ async def upsert_identity_properties(
1163
+ self,
1164
+ identity_id: str,
1165
+ *,
1166
+ request: typing.Sequence[IdentityProperty],
1167
+ request_options: typing.Optional[RequestOptions] = None,
1168
+ ) -> typing.Optional[typing.Any]:
1169
+ """
1170
+ Parameters
1171
+ ----------
1172
+ identity_id : str
1173
+
1174
+ request : typing.Sequence[IdentityProperty]
1175
+
1176
+ request_options : typing.Optional[RequestOptions]
1177
+ Request-specific configuration.
1178
+
1179
+ Returns
1180
+ -------
1181
+ typing.Optional[typing.Any]
1182
+ Successful Response
1183
+
1184
+ Examples
1185
+ --------
1186
+ import asyncio
1187
+
1188
+ from letta_client import AsyncLetta, IdentityProperty
1189
+
1190
+ client = AsyncLetta(
1191
+ token="YOUR_TOKEN",
1192
+ )
1193
+
1194
+
1195
+ async def main() -> None:
1196
+ await client.identities.upsert_identity_properties(
1197
+ identity_id="identity_id",
1198
+ request=[
1199
+ IdentityProperty(
1200
+ key="key",
1201
+ value="value",
1202
+ type="string",
1203
+ )
1204
+ ],
1205
+ )
1206
+
1207
+
1208
+ asyncio.run(main())
1209
+ """
1210
+ _response = await self._client_wrapper.httpx_client.request(
1211
+ f"v1/identities/{jsonable_encoder(identity_id)}/properties",
1212
+ method="PUT",
1213
+ json=convert_and_respect_annotation_metadata(
1214
+ object_=request, annotation=typing.Sequence[IdentityProperty], direction="write"
1215
+ ),
1216
+ request_options=request_options,
1217
+ omit=OMIT,
1218
+ )
1219
+ try:
1220
+ if 200 <= _response.status_code < 300:
1221
+ return typing.cast(
1222
+ typing.Optional[typing.Any],
1223
+ construct_type(
1224
+ type_=typing.Optional[typing.Any], # type: ignore
1225
+ object_=_response.json(),
1226
+ ),
1227
+ )
1228
+ if _response.status_code == 422:
1229
+ raise UnprocessableEntityError(
1230
+ typing.cast(
1231
+ HttpValidationError,
1232
+ construct_type(
1233
+ type_=HttpValidationError, # type: ignore
1234
+ object_=_response.json(),
1235
+ ),
1236
+ )
1237
+ )
1238
+ _response_json = _response.json()
1239
+ except JSONDecodeError:
1240
+ raise ApiError(status_code=_response.status_code, body=_response.text)
1241
+ raise ApiError(status_code=_response.status_code, body=_response_json)
@@ -80,6 +80,7 @@ from .continue_tool_rule import ContinueToolRule
80
80
  from .core_memory_block_schema import CoreMemoryBlockSchema
81
81
  from .create_block import CreateBlock
82
82
  from .dynamic_manager import DynamicManager
83
+ from .dynamic_manager_update import DynamicManagerUpdate
83
84
  from .e_2_b_sandbox_config import E2BSandboxConfig
84
85
  from .embedding_config import EmbeddingConfig
85
86
  from .embedding_config_embedding_endpoint_type import EmbeddingConfigEmbeddingEndpointType
@@ -97,7 +98,6 @@ from .hidden_reasoning_message import HiddenReasoningMessage
97
98
  from .hidden_reasoning_message_state import HiddenReasoningMessageState
98
99
  from .http_validation_error import HttpValidationError
99
100
  from .identity import Identity
100
- from .identity_create import IdentityCreate
101
101
  from .identity_property import IdentityProperty
102
102
  from .identity_property_type import IdentityPropertyType
103
103
  from .identity_property_value import IdentityPropertyValue
@@ -162,6 +162,7 @@ from .response_format_json_object import ResponseFormatJsonObject
162
162
  from .response_format_json_schema import ResponseFormatJsonSchema
163
163
  from .response_format_text import ResponseFormatText
164
164
  from .round_robin_manager import RoundRobinManager
165
+ from .round_robin_manager_update import RoundRobinManagerUpdate
165
166
  from .run import Run
166
167
  from .sandbox_config import SandboxConfig
167
168
  from .sandbox_config_create import SandboxConfigCreate
@@ -173,11 +174,13 @@ from .sandbox_environment_variable_create import SandboxEnvironmentVariableCreat
173
174
  from .sandbox_environment_variable_update import SandboxEnvironmentVariableUpdate
174
175
  from .sandbox_type import SandboxType
175
176
  from .sleeptime_manager import SleeptimeManager
177
+ from .sleeptime_manager_update import SleeptimeManagerUpdate
176
178
  from .source import Source
177
179
  from .sse_server_config import SseServerConfig
178
180
  from .stdio_server_config import StdioServerConfig
179
181
  from .step import Step
180
182
  from .supervisor_manager import SupervisorManager
183
+ from .supervisor_manager_update import SupervisorManagerUpdate
181
184
  from .system_message import SystemMessage
182
185
  from .tag_schema import TagSchema
183
186
  from .terminal_tool_rule import TerminalToolRule
@@ -298,6 +301,7 @@ __all__ = [
298
301
  "CoreMemoryBlockSchema",
299
302
  "CreateBlock",
300
303
  "DynamicManager",
304
+ "DynamicManagerUpdate",
301
305
  "E2BSandboxConfig",
302
306
  "EmbeddingConfig",
303
307
  "EmbeddingConfigEmbeddingEndpointType",
@@ -315,7 +319,6 @@ __all__ = [
315
319
  "HiddenReasoningMessageState",
316
320
  "HttpValidationError",
317
321
  "Identity",
318
- "IdentityCreate",
319
322
  "IdentityProperty",
320
323
  "IdentityPropertyType",
321
324
  "IdentityPropertyValue",
@@ -376,6 +379,7 @@ __all__ = [
376
379
  "ResponseFormatJsonSchema",
377
380
  "ResponseFormatText",
378
381
  "RoundRobinManager",
382
+ "RoundRobinManagerUpdate",
379
383
  "Run",
380
384
  "SandboxConfig",
381
385
  "SandboxConfigCreate",
@@ -387,11 +391,13 @@ __all__ = [
387
391
  "SandboxEnvironmentVariableUpdate",
388
392
  "SandboxType",
389
393
  "SleeptimeManager",
394
+ "SleeptimeManagerUpdate",
390
395
  "Source",
391
396
  "SseServerConfig",
392
397
  "StdioServerConfig",
393
398
  "Step",
394
399
  "SupervisorManager",
400
+ "SupervisorManagerUpdate",
395
401
  "SystemMessage",
396
402
  "TagSchema",
397
403
  "TerminalToolRule",
@@ -0,0 +1,33 @@
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 DynamicManagerUpdate(UncheckedBaseModel):
10
+ manager_type: typing.Literal["dynamic"] = "dynamic"
11
+ manager_agent_id: typing.Optional[str] = pydantic.Field(default=None)
12
+ """
13
+
14
+ """
15
+
16
+ termination_token: typing.Optional[str] = pydantic.Field(default=None)
17
+ """
18
+
19
+ """
20
+
21
+ max_turns: typing.Optional[int] = pydantic.Field(default=None)
22
+ """
23
+
24
+ """
25
+
26
+ if IS_PYDANTIC_V2:
27
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
28
+ else:
29
+
30
+ class Config:
31
+ frozen = True
32
+ smart_union = True
33
+ 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 RoundRobinManagerUpdate(UncheckedBaseModel):
10
+ manager_type: typing.Literal["round_robin"] = "round_robin"
11
+ max_turns: typing.Optional[int] = 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
@@ -0,0 +1,28 @@
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 SleeptimeManagerUpdate(UncheckedBaseModel):
10
+ manager_type: typing.Literal["sleeptime"] = "sleeptime"
11
+ manager_agent_id: typing.Optional[str] = pydantic.Field(default=None)
12
+ """
13
+
14
+ """
15
+
16
+ sleeptime_agent_frequency: typing.Optional[int] = pydantic.Field(default=None)
17
+ """
18
+
19
+ """
20
+
21
+ if IS_PYDANTIC_V2:
22
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
23
+ else:
24
+
25
+ class Config:
26
+ frozen = True
27
+ smart_union = True
28
+ 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 SupervisorManagerUpdate(UncheckedBaseModel):
10
+ manager_type: typing.Literal["supervisor"] = "supervisor"
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.105
3
+ Version: 0.1.107
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=7ugIsCugujtSzOf2YYd4uZNYLJ5Mckl96-3PvjSkjdc,14313
1
+ letta_client/__init__.py,sha256=xU_DjiXcLwfSaX1f10xjdfzWW46_G-m5EMuyHXukNjw,14503
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=tHoZJ-TPU5HwxBQe5X6E9Kg1du3pzvsLjc6vLwQAhMQ,1998
47
+ letta_client/core/client_wrapper.py,sha256=HAUBq3dWP9p40q1aimUD9e8XQufDkVYWXrKN_J15jek,1998
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
@@ -71,11 +71,11 @@ letta_client/groups/messages/types/messages_modify_request.py,sha256=7C2X3BKye-Y
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
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
74
+ letta_client/groups/types/group_update_manager_config.py,sha256=ZmSsb5UMolq-py0NEYFKmNCy6KGoSP8zPPFgkFz7UZ8,499
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
78
- letta_client/identities/client.py,sha256=NPlSrWArxHUnJU_mfUky5tpFyKxqlnFPPlXsWb7C54o,35732
78
+ letta_client/identities/client.py,sha256=kFcShBwJF3RSmOcEVBYM1-IFTFWD3zvCD0JsHSWDeh4,40986
79
79
  letta_client/jobs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
80
80
  letta_client/jobs/client.py,sha256=z1Zq6dGs2xbf3EAFuD3-m-qbpbUeqpCBYqtIFKkGoMk,15622
81
81
  letta_client/models/__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=wvEXDQXF3Dx66mFVxP3Upy57HA9c6aHmDRxJqsvURJA,19223
109
+ letta_client/types/__init__.py,sha256=zTFw61bW2DZVI4tDq5EvuOJib2XZZjxJ6tkLNW7GeL8,19522
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
@@ -187,6 +187,7 @@ letta_client/types/continue_tool_rule.py,sha256=AIKTGsQrJdSNsMCqdSqMqjKS7s610vDO
187
187
  letta_client/types/core_memory_block_schema.py,sha256=DGHyLAcFhHBm7oXkhkGIkkckcl9S2bCaU9b3qrUeNtc,984
188
188
  letta_client/types/create_block.py,sha256=V57mbqUkh5c-HcDxmIiFVr3tNfoqx-WJ1GRQZPobbxI,1277
189
189
  letta_client/types/dynamic_manager.py,sha256=5DRNqtUnjeTwOe5mkNB-SXItqLOfEX0avSrwsrJt1Aw,853
190
+ letta_client/types/dynamic_manager_update.py,sha256=Kew94BsFP6vP9pUXpZDMFZAo3TyaYWKu1KPgoQQjKYg,888
190
191
  letta_client/types/e_2_b_sandbox_config.py,sha256=w3R4QpPjeie5aKw8sb_eKhl78J0k5vLCcATNS3Qaeyw,957
191
192
  letta_client/types/embedding_config.py,sha256=ubGDLn8_H1qOoZUUj6de0MVrQnM2umVR2vdnOolPyr4,2539
192
193
  letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=Ho1HSODi21PkzsZR58g7FlIMReFU2yf0hAS5OyUsW6Q,559
@@ -204,7 +205,6 @@ letta_client/types/hidden_reasoning_message.py,sha256=5FeatBGNFbpXYKgLwL92Q6bzk3
204
205
  letta_client/types/hidden_reasoning_message_state.py,sha256=qotAgF_P4T7OEHzbhGDVFaLZYOs1ULMPVHmiFvoRIfM,174
205
206
  letta_client/types/http_validation_error.py,sha256=yHa4_NHIMB-VKNZpk7agjLTwWIg7mv7ml3d7I-Bqiog,661
206
207
  letta_client/types/identity.py,sha256=ODegiJaCyiFFfYd177v-hRdJBnIwbCQImB9U_fk4s4E,1591
207
- letta_client/types/identity_create.py,sha256=QuYCfc7dL5aHQqRIt6SlOV00bWyeMouxpKiY3Wx10o0,1538
208
208
  letta_client/types/identity_property.py,sha256=K-e-SVzwIznTAJgMrYKWvEBZmymHzUiAOql4Da7BX7o,981
209
209
  letta_client/types/identity_property_type.py,sha256=Ce360UCsjWkX5t1-4HK8_4qiBz1olFGL8gDhuLb2d6Q,183
210
210
  letta_client/types/identity_property_value.py,sha256=SQJz97fXG0XHqOGYmYRmHLbI4On3xKmPZhrrkfN8vBs,187
@@ -265,6 +265,7 @@ letta_client/types/response_format_json_object.py,sha256=ZSWmwdN8itFr5q77mxuBhEW
265
265
  letta_client/types/response_format_json_schema.py,sha256=7CgBQ9Lmst2oz_NoGr-1Sk-7Yq33BBhkqpRoKXh-qPo,675
266
266
  letta_client/types/response_format_text.py,sha256=5HhXaYWDR0zeFLhH5nIqIN3n192UXrMZeSyORjIWFKQ,591
267
267
  letta_client/types/round_robin_manager.py,sha256=zcPLc74VlpHPeIHJiEisF9Kn14mKwfQikUjK-DMR-_U,700
268
+ letta_client/types/round_robin_manager_update.py,sha256=EKdEbaXBWyzsiR1TApBkmvhyu_qEf89E0xbC550oyKw,706
268
269
  letta_client/types/run.py,sha256=AgRWT05g4ar7Tid6TfjcfU6leLih8OXKU-mVm2VJV5c,2505
269
270
  letta_client/types/sandbox_config.py,sha256=nvVdB0WnK_-bEHIehvBGiiD0hvujA93Ko4FuGMAJDdk,1550
270
271
  letta_client/types/sandbox_config_create.py,sha256=eP3Bg9JsROEQEEXm9zo-AJb5QvinO1fQkbDhNcfAUt0,730
@@ -276,11 +277,13 @@ letta_client/types/sandbox_environment_variable_create.py,sha256=AhGE8ITStXkPOfP
276
277
  letta_client/types/sandbox_environment_variable_update.py,sha256=JMkX6nzvcBNEemjvBmyHDezci3Bn7epKhMnvFY_--EA,948
277
278
  letta_client/types/sandbox_type.py,sha256=XSWmX3JIFFrDPQ4i89E8LauXY8kjmJEtaz6e_JheGm4,151
278
279
  letta_client/types/sleeptime_manager.py,sha256=oKI3CCoA4guwktWs1bbPdCmv9jg94EeMvbXQWvzbt6M,778
280
+ letta_client/types/sleeptime_manager_update.py,sha256=JMzgtvGMDI5VBzlTuzm4FpuFAL7uwPbQgN9TYxip93s,813
279
281
  letta_client/types/source.py,sha256=7tLptZ4AZrvRPF6NqToM4Vf9i7TosS2_Ydks4zfvZx4,2239
280
282
  letta_client/types/sse_server_config.py,sha256=b-h5FLm5MELZ5A9bwZt-02Zx_f3UbfKAQS--yHQVOQU,844
281
283
  letta_client/types/stdio_server_config.py,sha256=dEQ7bguiLikGemLxYZJ3JCmmEQgAMsSPO_P52oHZSl0,1091
282
284
  letta_client/types/step.py,sha256=XE98vMiU34dgUxLPvmJLdp9iWFPjg6E2Pb8xNSURMMg,2988
283
285
  letta_client/types/supervisor_manager.py,sha256=VdR1ySp4k43apxM8Bb5uNoBvADsvz8oMEEtDy2F5K6M,676
286
+ letta_client/types/supervisor_manager_update.py,sha256=UJ_TcWcF_PK152Gni0tgRCe3bthCgJbQHCZIb5LLsL0,711
284
287
  letta_client/types/system_message.py,sha256=v4MneUcpWkZiU5imCjC9bBEHU2XPSPMdrUd-WD6wHb4,1218
285
288
  letta_client/types/tag_schema.py,sha256=FEszKlRD2FqezKlX99OLqTqf46dONlcGPo1m43osdNo,553
286
289
  letta_client/types/terminal_tool_rule.py,sha256=82a7AnohOqCFBSOt7OwsKeh7gHgq8KTlgojxlm3t76E,863
@@ -324,6 +327,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
324
327
  letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
325
328
  letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
326
329
  letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
327
- letta_client-0.1.105.dist-info/METADATA,sha256=KwRPOdJkqvL0M2JeUzDdEVBL07zgs-t2DbS62Fx3S2I,5042
328
- letta_client-0.1.105.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
329
- letta_client-0.1.105.dist-info/RECORD,,
330
+ letta_client-0.1.107.dist-info/METADATA,sha256=_MUYcttVHLBrjyn-ZH-LTIIaOQmNhIMPJ8xTEn7Azyo,5042
331
+ letta_client-0.1.107.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
332
+ letta_client-0.1.107.dist-info/RECORD,,
@@ -1,54 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from ..core.unchecked_base_model import UncheckedBaseModel
4
- import pydantic
5
- from .identity_type import IdentityType
6
- import typing
7
- from .identity_property import IdentityProperty
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
-
10
-
11
- class IdentityCreate(UncheckedBaseModel):
12
- identifier_key: str = pydantic.Field()
13
- """
14
- External, user-generated identifier key of the identity.
15
- """
16
-
17
- name: str = pydantic.Field()
18
- """
19
- The name of the identity.
20
- """
21
-
22
- identity_type: IdentityType = pydantic.Field()
23
- """
24
- The type of the identity.
25
- """
26
-
27
- project_id: typing.Optional[str] = pydantic.Field(default=None)
28
- """
29
- The project id of the identity, if applicable.
30
- """
31
-
32
- agent_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
33
- """
34
- The agent ids that are associated with the identity.
35
- """
36
-
37
- block_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
38
- """
39
- The IDs of the blocks associated with the identity.
40
- """
41
-
42
- properties: typing.Optional[typing.List[IdentityProperty]] = pydantic.Field(default=None)
43
- """
44
- List of properties associated with the identity.
45
- """
46
-
47
- if IS_PYDANTIC_V2:
48
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
49
- else:
50
-
51
- class Config:
52
- frozen = True
53
- smart_union = True
54
- extra = pydantic.Extra.allow