letta-client 0.1.311__py3-none-any.whl → 0.1.312__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
@@ -110,6 +110,8 @@ from .types import (
110
110
  CustomFormatGrammarGrammar,
111
111
  CustomFormatGrammarGrammarSyntax,
112
112
  CustomFormatText,
113
+ DeleteDeploymentResponse,
114
+ DeploymentEntity,
113
115
  DuplicateFileHandling,
114
116
  DynamicManager,
115
117
  DynamicManagerUpdate,
@@ -191,6 +193,7 @@ from .types import (
191
193
  LettaStreamingRequestMessagesItem,
192
194
  LettaUsageStatistics,
193
195
  LettaUserMessageContentUnion,
196
+ ListDeploymentEntitiesResponse,
194
197
  LlmConfig,
195
198
  LlmConfigCompatibilityType,
196
199
  LlmConfigModelEndpointType,
@@ -574,7 +577,9 @@ __all__ = [
574
577
  "CustomFormatGrammarGrammar",
575
578
  "CustomFormatGrammarGrammarSyntax",
576
579
  "CustomFormatText",
580
+ "DeleteDeploymentResponse",
577
581
  "DeleteMcpServerResponseItem",
582
+ "DeploymentEntity",
578
583
  "DuplicateFileHandling",
579
584
  "DynamicManager",
580
585
  "DynamicManagerUpdate",
@@ -661,6 +666,7 @@ __all__ = [
661
666
  "LettaStreamingResponse",
662
667
  "LettaUsageStatistics",
663
668
  "LettaUserMessageContentUnion",
669
+ "ListDeploymentEntitiesResponse",
664
670
  "ListMcpServersResponseValue",
665
671
  "LlmConfig",
666
672
  "LlmConfigCompatibilityType",
@@ -24,10 +24,10 @@ class BaseClientWrapper:
24
24
 
25
25
  def get_headers(self) -> typing.Dict[str, str]:
26
26
  headers: typing.Dict[str, str] = {
27
- "User-Agent": "letta-client/0.1.311",
27
+ "User-Agent": "letta-client/0.1.312",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.311",
30
+ "X-Fern-SDK-Version": "0.1.312",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -109,6 +109,8 @@ from .custom_format_grammar import CustomFormatGrammar
109
109
  from .custom_format_grammar_grammar import CustomFormatGrammarGrammar
110
110
  from .custom_format_grammar_grammar_syntax import CustomFormatGrammarGrammarSyntax
111
111
  from .custom_format_text import CustomFormatText
112
+ from .delete_deployment_response import DeleteDeploymentResponse
113
+ from .deployment_entity import DeploymentEntity
112
114
  from .duplicate_file_handling import DuplicateFileHandling
113
115
  from .dynamic_manager import DynamicManager
114
116
  from .dynamic_manager_update import DynamicManagerUpdate
@@ -198,6 +200,7 @@ from .letta_streaming_request import LettaStreamingRequest
198
200
  from .letta_streaming_request_messages_item import LettaStreamingRequestMessagesItem
199
201
  from .letta_usage_statistics import LettaUsageStatistics
200
202
  from .letta_user_message_content_union import LettaUserMessageContentUnion
203
+ from .list_deployment_entities_response import ListDeploymentEntitiesResponse
201
204
  from .llm_config import LlmConfig
202
205
  from .llm_config_compatibility_type import LlmConfigCompatibilityType
203
206
  from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
@@ -456,6 +459,8 @@ __all__ = [
456
459
  "CustomFormatGrammarGrammar",
457
460
  "CustomFormatGrammarGrammarSyntax",
458
461
  "CustomFormatText",
462
+ "DeleteDeploymentResponse",
463
+ "DeploymentEntity",
459
464
  "DuplicateFileHandling",
460
465
  "DynamicManager",
461
466
  "DynamicManagerUpdate",
@@ -537,6 +542,7 @@ __all__ = [
537
542
  "LettaStreamingRequestMessagesItem",
538
543
  "LettaUsageStatistics",
539
544
  "LettaUserMessageContentUnion",
545
+ "ListDeploymentEntitiesResponse",
540
546
  "LlmConfig",
541
547
  "LlmConfigCompatibilityType",
542
548
  "LlmConfigModelEndpointType",
@@ -0,0 +1,27 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
+ from ..core.unchecked_base_model import UncheckedBaseModel
8
+
9
+
10
+ class DeleteDeploymentResponse(UncheckedBaseModel):
11
+ """
12
+ Response model for delete deployment operation.
13
+ """
14
+
15
+ deleted_blocks: typing.Optional[typing.List[str]] = None
16
+ deleted_agents: typing.Optional[typing.List[str]] = None
17
+ deleted_groups: typing.Optional[typing.List[str]] = None
18
+ message: str
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
@@ -0,0 +1,27 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
+ from ..core.unchecked_base_model import UncheckedBaseModel
8
+
9
+
10
+ class DeploymentEntity(UncheckedBaseModel):
11
+ """
12
+ A deployment entity.
13
+ """
14
+
15
+ id: str
16
+ type: str
17
+ name: typing.Optional[str] = None
18
+ description: typing.Optional[str] = None
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
@@ -0,0 +1,28 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
+ from ..core.unchecked_base_model import UncheckedBaseModel
8
+ from .deployment_entity import DeploymentEntity
9
+
10
+
11
+ class ListDeploymentEntitiesResponse(UncheckedBaseModel):
12
+ """
13
+ Response model for listing deployment entities.
14
+ """
15
+
16
+ entities: typing.Optional[typing.List[DeploymentEntity]] = None
17
+ total_count: int
18
+ deployment_id: str
19
+ message: str
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.311
3
+ Version: 0.1.312
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=bXiTjE64Mj9HyVqd7lTCNddeKrY_jCMBMD8_r_1q2S8,28177
1
+ letta_client/__init__.py,sha256=xc0nY1n5HLlX3pzH-xIvxHYTuY97N9uOrqb2E9Zo2hc,28359
2
2
  letta_client/agents/__init__.py,sha256=6U2CPqYOtgufFoEhev61AzE-oOqgAQPUBsN8H7YJDbg,2081
3
3
  letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
4
4
  letta_client/agents/blocks/client.py,sha256=WAKaFGx76QqDG1Ygd2hlvyXHTjV-ObjnvQSMKK6h1SM,16143
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
92
92
  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
93
93
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
94
94
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
95
- letta_client/core/client_wrapper.py,sha256=muV0VZGSz1Us-ZK_tIEIJ1zdOXdj3zoiSCp1bZimnyg,2776
95
+ letta_client/core/client_wrapper.py,sha256=zkros2oImaRFhnK1GCuFEv0NLLHvDujI-xPagf-jgK4,2776
96
96
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
97
97
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
98
98
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -262,7 +262,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
262
262
  letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
263
263
  letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
264
264
  letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
265
- letta_client/types/__init__.py,sha256=ASxjFvQ1zvBhfqKpbPXyniGTLFUmK_bFgJWlQHy1Tbc,30954
265
+ letta_client/types/__init__.py,sha256=nWIk1pbnp4v0dKh4Bx2AeNmRBKnoXcC2DbCq0IUlrfI,31239
266
266
  letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
267
267
  letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
268
268
  letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
@@ -370,6 +370,8 @@ letta_client/types/custom_format_grammar.py,sha256=l16BZsFb3wPxhl-S6Q93RCBajoAct
370
370
  letta_client/types/custom_format_grammar_grammar.py,sha256=8skLshQW2sHV41OJrdTJX1SRbA5rjRGrqAbetf4YK14,706
371
371
  letta_client/types/custom_format_grammar_grammar_syntax.py,sha256=8xsJRq0D02hhMGCQ55owIE-w7i4wu1ymWGNaKjg3cO4,173
372
372
  letta_client/types/custom_format_text.py,sha256=JZQHhuuMfqvlI82NZ3364Nhu1gCfmJOps2xFykEg5Mw,590
373
+ letta_client/types/delete_deployment_response.py,sha256=Sa6HkM8f-uh4SnlXKpDfnTk_T7giKOZpzTTfAd0_chA,825
374
+ letta_client/types/deployment_entity.py,sha256=00Dye8J0WWYH91J2z2EfCrBlPFW5V4SklT7d0TvkAI4,699
373
375
  letta_client/types/duplicate_file_handling.py,sha256=xIYYN3qYtFaWHerE9KHGmXtyQb54pyE5xLREzAFakxI,183
374
376
  letta_client/types/dynamic_manager.py,sha256=B-GwXKSD_-vvYPOx27OW6Jzp11ev2IPz6zr5dY3dJzA,854
375
377
  letta_client/types/dynamic_manager_update.py,sha256=73luQ0zJ2__wghe-OVEJ-f4JIfrEwytpf5NGpTumS9k,889
@@ -451,6 +453,7 @@ letta_client/types/letta_streaming_request.py,sha256=cNs5JlBn7OJWbQK3cwIuRSfBo1g
451
453
  letta_client/types/letta_streaming_request_messages_item.py,sha256=1uUqT_cli1mJBgYh0aR_WOsHt-EgMTbikpgkYOJaJG4,247
452
454
  letta_client/types/letta_usage_statistics.py,sha256=uZZq2lVOGHK6N-VhA0oknQfUjE9Zb0sMYh0mHDvl-lc,1887
453
455
  letta_client/types/letta_user_message_content_union.py,sha256=2SrcmMjvsQzCvfIUYG7PkaE4brMZcL6H437GSCLK4zg,230
456
+ letta_client/types/list_deployment_entities_response.py,sha256=0LMKw1XooxJy_h_Glmkyz0t-crHkI02j4UqWP4nJb-w,808
454
457
  letta_client/types/llm_config.py,sha256=-fyzSmnQpkQ1vqqQOSyuIvMDfgSMMdrDtj-0Tbsw42I,3989
455
458
  letta_client/types/llm_config_compatibility_type.py,sha256=m6E90W-R9-Oi3EGSV_GdPIuVC2rmAH7TsUKbl79EiAQ,165
456
459
  letta_client/types/llm_config_model_endpoint_type.py,sha256=o59NDg3-3ud2mqAPYze40G7kyVD7pkRRbdT_vdTqL24,602
@@ -590,6 +593,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
590
593
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
591
594
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
592
595
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
593
- letta_client-0.1.311.dist-info/METADATA,sha256=3KbvOc0RGBVQG59kchwjVWt2qqdZE3MxM--ezpzq3-A,5782
594
- letta_client-0.1.311.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
595
- letta_client-0.1.311.dist-info/RECORD,,
596
+ letta_client-0.1.312.dist-info/METADATA,sha256=OLitUTP11ZbrDSrXK0Nfpw5b4_Et3vAK_B0SzDApXvg,5782
597
+ letta_client-0.1.312.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
598
+ letta_client-0.1.312.dist-info/RECORD,,