letta-client 0.1.106__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 +0 -2
- letta_client/core/client_wrapper.py +1 -1
- letta_client/identities/client.py +4 -0
- letta_client/types/__init__.py +0 -2
- {letta_client-0.1.106.dist-info → letta_client-0.1.107.dist-info}/METADATA +1 -1
- {letta_client-0.1.106.dist-info → letta_client-0.1.107.dist-info}/RECORD +7 -8
- letta_client/types/identity_create.py +0 -54
- {letta_client-0.1.106.dist-info → letta_client-0.1.107.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -99,7 +99,6 @@ from .types import (
|
|
|
99
99
|
HiddenReasoningMessageState,
|
|
100
100
|
HttpValidationError,
|
|
101
101
|
Identity,
|
|
102
|
-
IdentityCreate,
|
|
103
102
|
IdentityProperty,
|
|
104
103
|
IdentityPropertyType,
|
|
105
104
|
IdentityPropertyValue,
|
|
@@ -375,7 +374,6 @@ __all__ = [
|
|
|
375
374
|
"HiddenReasoningMessageState",
|
|
376
375
|
"HttpValidationError",
|
|
377
376
|
"Identity",
|
|
378
|
-
"IdentityCreate",
|
|
379
377
|
"IdentityProperty",
|
|
380
378
|
"IdentityPropertyType",
|
|
381
379
|
"IdentityPropertyValue",
|
|
@@ -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.107",
|
|
20
20
|
}
|
|
21
21
|
if self.token is not None:
|
|
22
22
|
headers["Authorization"] = f"Bearer {self.token}"
|
|
@@ -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,
|
|
@@ -781,6 +783,7 @@ class AsyncIdentitiesClient:
|
|
|
781
783
|
),
|
|
782
784
|
},
|
|
783
785
|
headers={
|
|
786
|
+
"content-type": "application/json",
|
|
784
787
|
"X-Project": str(project) if project is not None else None,
|
|
785
788
|
},
|
|
786
789
|
request_options=request_options,
|
|
@@ -893,6 +896,7 @@ class AsyncIdentitiesClient:
|
|
|
893
896
|
),
|
|
894
897
|
},
|
|
895
898
|
headers={
|
|
899
|
+
"content-type": "application/json",
|
|
896
900
|
"X-Project": str(project) if project is not None else None,
|
|
897
901
|
},
|
|
898
902
|
request_options=request_options,
|
letta_client/types/__init__.py
CHANGED
|
@@ -98,7 +98,6 @@ from .hidden_reasoning_message import HiddenReasoningMessage
|
|
|
98
98
|
from .hidden_reasoning_message_state import HiddenReasoningMessageState
|
|
99
99
|
from .http_validation_error import HttpValidationError
|
|
100
100
|
from .identity import Identity
|
|
101
|
-
from .identity_create import IdentityCreate
|
|
102
101
|
from .identity_property import IdentityProperty
|
|
103
102
|
from .identity_property_type import IdentityPropertyType
|
|
104
103
|
from .identity_property_value import IdentityPropertyValue
|
|
@@ -320,7 +319,6 @@ __all__ = [
|
|
|
320
319
|
"HiddenReasoningMessageState",
|
|
321
320
|
"HttpValidationError",
|
|
322
321
|
"Identity",
|
|
323
|
-
"IdentityCreate",
|
|
324
322
|
"IdentityProperty",
|
|
325
323
|
"IdentityPropertyType",
|
|
326
324
|
"IdentityPropertyValue",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
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=
|
|
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
|
|
@@ -75,7 +75,7 @@ letta_client/groups/types/group_update_manager_config.py,sha256=ZmSsb5UMolq-py0N
|
|
|
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=
|
|
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=
|
|
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
|
|
@@ -205,7 +205,6 @@ letta_client/types/hidden_reasoning_message.py,sha256=5FeatBGNFbpXYKgLwL92Q6bzk3
|
|
|
205
205
|
letta_client/types/hidden_reasoning_message_state.py,sha256=qotAgF_P4T7OEHzbhGDVFaLZYOs1ULMPVHmiFvoRIfM,174
|
|
206
206
|
letta_client/types/http_validation_error.py,sha256=yHa4_NHIMB-VKNZpk7agjLTwWIg7mv7ml3d7I-Bqiog,661
|
|
207
207
|
letta_client/types/identity.py,sha256=ODegiJaCyiFFfYd177v-hRdJBnIwbCQImB9U_fk4s4E,1591
|
|
208
|
-
letta_client/types/identity_create.py,sha256=QuYCfc7dL5aHQqRIt6SlOV00bWyeMouxpKiY3Wx10o0,1538
|
|
209
208
|
letta_client/types/identity_property.py,sha256=K-e-SVzwIznTAJgMrYKWvEBZmymHzUiAOql4Da7BX7o,981
|
|
210
209
|
letta_client/types/identity_property_type.py,sha256=Ce360UCsjWkX5t1-4HK8_4qiBz1olFGL8gDhuLb2d6Q,183
|
|
211
210
|
letta_client/types/identity_property_value.py,sha256=SQJz97fXG0XHqOGYmYRmHLbI4On3xKmPZhrrkfN8vBs,187
|
|
@@ -328,6 +327,6 @@ letta_client/voice/__init__.py,sha256=7hX85553PiRMtIMM12a0DSoFzsglNiUziYR2ekS84Q
|
|
|
328
327
|
letta_client/voice/client.py,sha256=STjswa5oOLoP59QwTJvQwi73kgn0UzKOaXc2CsTRI4k,6912
|
|
329
328
|
letta_client/voice/types/__init__.py,sha256=FRc3iKRTONE4N8Lf1IqvnqWZ2kXdrFFvkL7PxVcR8Ew,212
|
|
330
329
|
letta_client/voice/types/create_voice_chat_completions_request_body.py,sha256=ZLfKgNK1T6IAwLEvaBVFfy7jEAoPUXP28n-nfmHkklc,391
|
|
331
|
-
letta_client-0.1.
|
|
332
|
-
letta_client-0.1.
|
|
333
|
-
letta_client-0.1.
|
|
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
|
|
File without changes
|