letta-client 0.1.189__py3-none-any.whl → 0.1.191__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.

@@ -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.189",
27
+ "X-Fern-SDK-Version": "0.1.191",
28
28
  }
29
29
  if self._project is not None:
30
30
  headers["X-Project"] = self._project
@@ -68,6 +68,16 @@ class FileMetadata(UncheckedBaseModel):
68
68
  Optional error message if the file failed processing.
69
69
  """
70
70
 
71
+ total_chunks: typing.Optional[int] = pydantic.Field(default=None)
72
+ """
73
+ Total number of chunks for the file.
74
+ """
75
+
76
+ chunks_embedded: typing.Optional[int] = pydantic.Field(default=None)
77
+ """
78
+ Number of chunks that have been embedded.
79
+ """
80
+
71
81
  created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
72
82
  """
73
83
  The creation date of the file.
@@ -94,6 +94,11 @@ class LlmConfig(UncheckedBaseModel):
94
94
  Configurable thinking budget for extended thinking, only used if enable_reasoner is True. Minimum value is 1024.
95
95
  """
96
96
 
97
+ frequency_penalty: typing.Optional[float] = pydantic.Field(default=None)
98
+ """
99
+ 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
+
97
102
  if IS_PYDANTIC_V2:
98
103
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
99
104
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.189
3
+ Version: 0.1.191
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -65,7 +65,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_create_re
65
65
  letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item_access_item.py,sha256=R-H25IpNp9feSrW8Yj3h9O3UTMVvFniQJElogKxLuoE,254
66
66
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
67
67
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
68
- letta_client/core/client_wrapper.py,sha256=V3d2ebAmI-LZv6Ice4uVFuQlZONuSfyISp9SAofNbi4,2336
68
+ letta_client/core/client_wrapper.py,sha256=2_HuU7DuhEditKxxp_5foq1aI1yrP04XCJDorpX-q6E,2336
69
69
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
70
70
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
71
71
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -253,7 +253,7 @@ letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=Ho1HSODi21
253
253
  letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI7eDkoQ,160
254
254
  letta_client/types/file.py,sha256=ZLCEYJqIJ1pzAJn4Pke6gVdKivKU9FrIg98P4GmFY8M,628
255
255
  letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJruw,665
256
- letta_client/types/file_metadata.py,sha256=OOkV1o3zfGG99Z3yylqarDN9IXicI48Dx27Oi47ilPU,2693
256
+ letta_client/types/file_metadata.py,sha256=Fhn8ptJSmczuUoXv-N6vI-yWbVTonAqdg7jcG4nZurs,2957
257
257
  letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
258
258
  letta_client/types/function_call.py,sha256=eE6VYWK3A-2xRrIV-QKqrofvaVFcPNqSzl6lrWnopZA,576
259
259
  letta_client/types/function_definition_input.py,sha256=UpoD7ftRpHquJ5zhy28TjXPBVzxj7rOHKv3gX84Nfj8,740
@@ -296,7 +296,7 @@ letta_client/types/letta_stop_reason.py,sha256=5uqJibhaT6LFTj6Sf6m0VJKS1FJzIIgym
296
296
  letta_client/types/letta_streaming_request.py,sha256=YJ_6ge5xrzQjOs2UTY3FxwhTv6QoCi9XWv5Rod01W1E,1884
297
297
  letta_client/types/letta_usage_statistics.py,sha256=k6V72J2TEPd-RQBuUQxF3oylrAMcuSKBskd2nnZmGOw,1886
298
298
  letta_client/types/letta_user_message_content_union.py,sha256=3Gbs3mRk-tJj2z0Mf-BNDomWHEytQd3OTUN4xnEVsuE,229
299
- letta_client/types/llm_config.py,sha256=h22Fiph7-KoLKMgRKKtqqmUZzJwYUe5i02nwfsYluC4,4008
299
+ letta_client/types/llm_config.py,sha256=m8IlVCS4uSXVYsuIadilgO32UpuD4_ij0a1hcRQiMLo,4306
300
300
  letta_client/types/llm_config_model_endpoint_type.py,sha256=HOSM5kIZDCNAVCWmASvAk52K819plqGlD66yKQ1xFkI,620
301
301
  letta_client/types/llm_config_reasoning_effort.py,sha256=AHL2nI5aeTfPhijnhaL3aiP8EoJhy_Wdupi2pyMm4sA,173
302
302
  letta_client/types/local_sandbox_config.py,sha256=jfe7akG_YrJJ8csLaLdev04Zg1x-PTN0XCAL4KifaZI,1387
@@ -415,6 +415,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
415
415
  letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
416
416
  letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
417
417
  letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
418
- letta_client-0.1.189.dist-info/METADATA,sha256=qHRY6s2ws72cCIwPcFZwhdNFVOmbU8VumyES7TwPKHA,5177
419
- letta_client-0.1.189.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
420
- letta_client-0.1.189.dist-info/RECORD,,
418
+ letta_client-0.1.191.dist-info/METADATA,sha256=MKcMQpEkQLvsiJYCx6iMN9IjPGMPiMp5fsbD5wSpjgY,5177
419
+ letta_client-0.1.191.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
420
+ letta_client-0.1.191.dist-info/RECORD,,