letta-client 0.1.227__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 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.227",
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
@@ -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",
@@ -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:
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ LlmConfigCompatibilityType = typing.Union[typing.Literal["gguf", "mlx"], typing.Any]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.227
3
+ Version: 0.1.228
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=kQxkWRS8b6iG1Tb3TvpqswqflQ_k9nexhmX_MxZXRiE,19604
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=0OVGNq7fJACf2IFR_zF3LTVzL_3eRQsfHgV5uUw7nKg,2336
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=V1-RZZZKB-4Vfvhxfkl7fKZRnT9ZKZ7BWnalHEEc3YQ,23170
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
@@ -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=m8IlVCS4uSXVYsuIadilgO32UpuD4_ij0a1hcRQiMLo,4306
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.227.dist-info/METADATA,sha256=GtRHclWU1g78NUy1aC1zS6Y2fDhmQY8rjd3l8R0GMLg,5064
451
- letta_client-0.1.227.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
452
- letta_client-0.1.227.dist-info/RECORD,,
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,,