letta-client 0.1.226__py3-none-any.whl → 0.1.228__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 +2 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/types/__init__.py +2 -0
- letta_client/types/file_metadata.py +0 -5
- letta_client/types/llm_config.py +6 -0
- letta_client/types/llm_config_compatibility_type.py +5 -0
- {letta_client-0.1.226.dist-info → letta_client-0.1.228.dist-info}/METADATA +1 -1
- {letta_client-0.1.226.dist-info → letta_client-0.1.228.dist-info}/RECORD +9 -8
- {letta_client-0.1.226.dist-info → letta_client-0.1.228.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -143,6 +143,7 @@ from .types import (
|
|
|
143
143
|
LettaUsageStatistics,
|
|
144
144
|
LettaUserMessageContentUnion,
|
|
145
145
|
LlmConfig,
|
|
146
|
+
LlmConfigCompatibilityType,
|
|
146
147
|
LlmConfigModelEndpointType,
|
|
147
148
|
LlmConfigReasoningEffort,
|
|
148
149
|
LocalSandboxConfig,
|
|
@@ -525,6 +526,7 @@ __all__ = [
|
|
|
525
526
|
"LettaUserMessageContentUnion",
|
|
526
527
|
"ListMcpServersResponseValue",
|
|
527
528
|
"LlmConfig",
|
|
529
|
+
"LlmConfigCompatibilityType",
|
|
528
530
|
"LlmConfigModelEndpointType",
|
|
529
531
|
"LlmConfigReasoningEffort",
|
|
530
532
|
"LocalSandboxConfig",
|
|
@@ -24,7 +24,7 @@ class BaseClientWrapper:
|
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
25
|
"X-Fern-Language": "Python",
|
|
26
26
|
"X-Fern-SDK-Name": "letta-client",
|
|
27
|
-
"X-Fern-SDK-Version": "0.1.
|
|
27
|
+
"X-Fern-SDK-Version": "0.1.228",
|
|
28
28
|
}
|
|
29
29
|
if self._project is not None:
|
|
30
30
|
headers["X-Project"] = self._project
|
letta_client/types/__init__.py
CHANGED
|
@@ -142,6 +142,7 @@ from .letta_streaming_request import LettaStreamingRequest
|
|
|
142
142
|
from .letta_usage_statistics import LettaUsageStatistics
|
|
143
143
|
from .letta_user_message_content_union import LettaUserMessageContentUnion
|
|
144
144
|
from .llm_config import LlmConfig
|
|
145
|
+
from .llm_config_compatibility_type import LlmConfigCompatibilityType
|
|
145
146
|
from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
146
147
|
from .llm_config_reasoning_effort import LlmConfigReasoningEffort
|
|
147
148
|
from .local_sandbox_config import LocalSandboxConfig
|
|
@@ -410,6 +411,7 @@ __all__ = [
|
|
|
410
411
|
"LettaUsageStatistics",
|
|
411
412
|
"LettaUserMessageContentUnion",
|
|
412
413
|
"LlmConfig",
|
|
414
|
+
"LlmConfigCompatibilityType",
|
|
413
415
|
"LlmConfigModelEndpointType",
|
|
414
416
|
"LlmConfigReasoningEffort",
|
|
415
417
|
"LocalSandboxConfig",
|
|
@@ -93,11 +93,6 @@ class FileMetadata(UncheckedBaseModel):
|
|
|
93
93
|
The update date of the file.
|
|
94
94
|
"""
|
|
95
95
|
|
|
96
|
-
is_deleted: typing.Optional[bool] = pydantic.Field(default=None)
|
|
97
|
-
"""
|
|
98
|
-
Whether this file is deleted or not.
|
|
99
|
-
"""
|
|
100
|
-
|
|
101
96
|
if IS_PYDANTIC_V2:
|
|
102
97
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
103
98
|
else:
|
letta_client/types/llm_config.py
CHANGED
|
@@ -6,6 +6,7 @@ from .llm_config_model_endpoint_type import LlmConfigModelEndpointType
|
|
|
6
6
|
import typing
|
|
7
7
|
from .provider_category import ProviderCategory
|
|
8
8
|
from .llm_config_reasoning_effort import LlmConfigReasoningEffort
|
|
9
|
+
from .llm_config_compatibility_type import LlmConfigCompatibilityType
|
|
9
10
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
10
11
|
|
|
11
12
|
|
|
@@ -99,6 +100,11 @@ class LlmConfig(UncheckedBaseModel):
|
|
|
99
100
|
Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. From OpenAI: Number between -2.0 and 2.0.
|
|
100
101
|
"""
|
|
101
102
|
|
|
103
|
+
compatibility_type: typing.Optional[LlmConfigCompatibilityType] = pydantic.Field(default=None)
|
|
104
|
+
"""
|
|
105
|
+
The framework compatibility type for the model.
|
|
106
|
+
"""
|
|
107
|
+
|
|
102
108
|
if IS_PYDANTIC_V2:
|
|
103
109
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
104
110
|
else:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=odL7kc6POr_sk1A0B-scxJY-q3HW7YCsOQrITO0FkSg,19670
|
|
2
2
|
letta_client/agents/__init__.py,sha256=9wEJMighDL1OFg_7Qh-D50bubPbV4BWo1ZKYxdDJGIQ,2146
|
|
3
3
|
letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
4
4
|
letta_client/agents/blocks/client.py,sha256=kCAcU1ACOKRCrjEYPyCQslWBjtsq7m4QboQP0wwLQy8,25392
|
|
@@ -75,7 +75,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
75
75
|
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
|
|
76
76
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
77
77
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
78
|
-
letta_client/core/client_wrapper.py,sha256
|
|
78
|
+
letta_client/core/client_wrapper.py,sha256=-jWiHKlstM8RPtS4PZQiHZlxqyc_EwE3SEIoXS3F27E,2336
|
|
79
79
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
80
80
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
81
81
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -181,7 +181,7 @@ letta_client/tools/types/streaming_response.py,sha256=E7W0OqxHFmhU2slJdzVZBxQA50
|
|
|
181
181
|
letta_client/tools/types/test_mcp_server_request.py,sha256=sLlOEZdmLfkHqHCkUjntGbr8_MkBhsqpMQ-HwdNOnq0,372
|
|
182
182
|
letta_client/tools/types/update_mcp_server_request.py,sha256=nCpx9-OvpH0l5iJxEi8kgSok1F1r7liEAZm-kaqBtEo,402
|
|
183
183
|
letta_client/tools/types/update_mcp_server_response.py,sha256=muwHagaQBMwQI0of9EBCBtG9lD-jELFAevgTB2MjpFQ,375
|
|
184
|
-
letta_client/types/__init__.py,sha256=
|
|
184
|
+
letta_client/types/__init__.py,sha256=HuhLyNq2joA0SuABYPWtKbL1QBTKsjGRsj_9tbJ3niU,23274
|
|
185
185
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
186
186
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
187
187
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -276,7 +276,7 @@ letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI
|
|
|
276
276
|
letta_client/types/file.py,sha256=ZLCEYJqIJ1pzAJn4Pke6gVdKivKU9FrIg98P4GmFY8M,628
|
|
277
277
|
letta_client/types/file_block.py,sha256=HSfMx6SpCpQv2vdIiqqZ0oxfZoHPquxuU-AG0QtrW-k,2776
|
|
278
278
|
letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJruw,665
|
|
279
|
-
letta_client/types/file_metadata.py,sha256=
|
|
279
|
+
letta_client/types/file_metadata.py,sha256=iUu4VIA4O805U7HaO9avKrUulIDtYTyBCGRpGLpNH_8,2830
|
|
280
280
|
letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
|
|
281
281
|
letta_client/types/file_stats.py,sha256=gEaG0m4vulK21EoIuYlOcdy0IK4qWkjBTDoMzXw3GEQ,875
|
|
282
282
|
letta_client/types/folder.py,sha256=R2xGuF_TQ27XmQVq7K8-_LgDsNwEpXj8qsue7eQzhVE,2370
|
|
@@ -323,7 +323,8 @@ letta_client/types/letta_stop_reason.py,sha256=5uqJibhaT6LFTj6Sf6m0VJKS1FJzIIgym
|
|
|
323
323
|
letta_client/types/letta_streaming_request.py,sha256=-mWkurh8AywX0YjIt5AYbxlE3m6iDYCUCkgpkzUE3G4,2059
|
|
324
324
|
letta_client/types/letta_usage_statistics.py,sha256=k6V72J2TEPd-RQBuUQxF3oylrAMcuSKBskd2nnZmGOw,1886
|
|
325
325
|
letta_client/types/letta_user_message_content_union.py,sha256=3Gbs3mRk-tJj2z0Mf-BNDomWHEytQd3OTUN4xnEVsuE,229
|
|
326
|
-
letta_client/types/llm_config.py,sha256=
|
|
326
|
+
letta_client/types/llm_config.py,sha256=kKxNEvj0AUGaAtfVY1Ha6Uq7rZT3OCvDXqQvi_0oWao,4544
|
|
327
|
+
letta_client/types/llm_config_compatibility_type.py,sha256=m6E90W-R9-Oi3EGSV_GdPIuVC2rmAH7TsUKbl79EiAQ,165
|
|
327
328
|
letta_client/types/llm_config_model_endpoint_type.py,sha256=HOSM5kIZDCNAVCWmASvAk52K819plqGlD66yKQ1xFkI,620
|
|
328
329
|
letta_client/types/llm_config_reasoning_effort.py,sha256=AHL2nI5aeTfPhijnhaL3aiP8EoJhy_Wdupi2pyMm4sA,173
|
|
329
330
|
letta_client/types/local_sandbox_config.py,sha256=jfe7akG_YrJJ8csLaLdev04Zg1x-PTN0XCAL4KifaZI,1387
|
|
@@ -447,6 +448,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
|
|
|
447
448
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
448
449
|
letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
449
450
|
letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
|
|
450
|
-
letta_client-0.1.
|
|
451
|
-
letta_client-0.1.
|
|
452
|
-
letta_client-0.1.
|
|
451
|
+
letta_client-0.1.228.dist-info/METADATA,sha256=j1_zTwrSpfGt-D01_X-FpdEBgFgEcNj0mKvvydnxXag,5064
|
|
452
|
+
letta_client-0.1.228.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
453
|
+
letta_client-0.1.228.dist-info/RECORD,,
|
|
File without changes
|