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

@@ -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.71",
19
+ "X-Fern-SDK-Version": "0.1.73",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -343,6 +343,8 @@ class SourcesClient:
343
343
  self,
344
344
  *,
345
345
  name: str,
346
+ embedding: typing.Optional[str] = OMIT,
347
+ embedding_chunk_size: typing.Optional[int] = OMIT,
346
348
  embedding_config: typing.Optional[EmbeddingConfig] = OMIT,
347
349
  description: typing.Optional[str] = OMIT,
348
350
  metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -356,8 +358,14 @@ class SourcesClient:
356
358
  name : str
357
359
  The name of the source.
358
360
 
361
+ embedding : typing.Optional[str]
362
+ The hande for the embedding config used by the source.
363
+
364
+ embedding_chunk_size : typing.Optional[int]
365
+ The chunk size of the embedding.
366
+
359
367
  embedding_config : typing.Optional[EmbeddingConfig]
360
- The embedding configuration used by the source.
368
+ (Legacy) The embedding configuration used by the source.
361
369
 
362
370
  description : typing.Optional[str]
363
371
  The description of the source.
@@ -389,6 +397,8 @@ class SourcesClient:
389
397
  method="POST",
390
398
  json={
391
399
  "name": name,
400
+ "embedding": embedding,
401
+ "embedding_chunk_size": embedding_chunk_size,
392
402
  "embedding_config": convert_and_respect_annotation_metadata(
393
403
  object_=embedding_config, annotation=EmbeddingConfig, direction="write"
394
404
  ),
@@ -787,6 +797,8 @@ class AsyncSourcesClient:
787
797
  self,
788
798
  *,
789
799
  name: str,
800
+ embedding: typing.Optional[str] = OMIT,
801
+ embedding_chunk_size: typing.Optional[int] = OMIT,
790
802
  embedding_config: typing.Optional[EmbeddingConfig] = OMIT,
791
803
  description: typing.Optional[str] = OMIT,
792
804
  metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
@@ -800,8 +812,14 @@ class AsyncSourcesClient:
800
812
  name : str
801
813
  The name of the source.
802
814
 
815
+ embedding : typing.Optional[str]
816
+ The hande for the embedding config used by the source.
817
+
818
+ embedding_chunk_size : typing.Optional[int]
819
+ The chunk size of the embedding.
820
+
803
821
  embedding_config : typing.Optional[EmbeddingConfig]
804
- The embedding configuration used by the source.
822
+ (Legacy) The embedding configuration used by the source.
805
823
 
806
824
  description : typing.Optional[str]
807
825
  The description of the source.
@@ -841,6 +859,8 @@ class AsyncSourcesClient:
841
859
  method="POST",
842
860
  json={
843
861
  "name": name,
862
+ "embedding": embedding,
863
+ "embedding_chunk_size": embedding_chunk_size,
844
864
  "embedding_config": convert_and_respect_annotation_metadata(
845
865
  object_=embedding_config, annotation=EmbeddingConfig, direction="write"
846
866
  ),
@@ -1,7 +1,7 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  import typing
4
- from ...types.stdio_server_config import StdioServerConfig
5
4
  from ...types.sse_server_config import SseServerConfig
5
+ from ...types.stdio_server_config import StdioServerConfig
6
6
 
7
- AddMcpServerResponseItem = typing.Union[StdioServerConfig, SseServerConfig]
7
+ AddMcpServerResponseItem = typing.Union[SseServerConfig, StdioServerConfig]
@@ -1,7 +1,7 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  import typing
4
- from ...types.stdio_server_config import StdioServerConfig
5
4
  from ...types.sse_server_config import SseServerConfig
5
+ from ...types.stdio_server_config import StdioServerConfig
6
6
 
7
- DeleteMcpServerResponseItem = typing.Union[StdioServerConfig, SseServerConfig]
7
+ DeleteMcpServerResponseItem = typing.Union[SseServerConfig, StdioServerConfig]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.71
3
+ Version: 0.1.73
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -228,7 +228,7 @@ letta_client/blocks/client.py,sha256=LE9dsHaBxFLC3G035f0VpNDG7XKWRK8y9OXpeFCMvUw
228
228
  letta_client/client.py,sha256=xdSrD4IkWokZHujowd1r7zESBoVgKGNvo6RqgZ3f0Fg,12808
229
229
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
230
230
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
231
- letta_client/core/client_wrapper.py,sha256=f7ga-thRWR6NBeA9bApbqIDMvneEIfORwEkFOiHirGo,1997
231
+ letta_client/core/client_wrapper.py,sha256=gOYaT-CORQRDv2gfUHFlXVEYmHIZl8W-M2dli_2kP54,1997
232
232
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
233
233
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
234
234
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -261,7 +261,7 @@ letta_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
261
  letta_client/runs/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
262
262
  letta_client/runs/client.py,sha256=fu6RNu6qkG5kOkT7rfIjeuHp_REW5ZGxNwzFqTmhb-o,34546
263
263
  letta_client/sources/__init__.py,sha256=kswgCv4UdkSVk1Y4tsMM1HadOwvhh_Fr96VTSMV4Umc,128
264
- letta_client/sources/client.py,sha256=GbMg3ZR0JufGPOfYiptr9yDWKJ0FgT6zLD_k6fET0zs,28223
264
+ letta_client/sources/client.py,sha256=5cxPpigLN0YvzlkCOKcySV6g1_k8zknpE0tw7EN2Y1Y,29073
265
265
  letta_client/sources/files/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
266
266
  letta_client/sources/files/client.py,sha256=R-9zHK_wWtvW-2K7erQVVh9rR7a5JC4zxmTK3rrWJoU,13289
267
267
  letta_client/sources/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -463,8 +463,8 @@ letta_client/tools/__init__.py,sha256=XsuAkxHDA-Z98gLNNW_fiEwFP3fP4XQipflrK2bHl8
463
463
  letta_client/tools/client.py,sha256=m_GRTYbqESVr21FuQ3WtpRcShqDPt8nupQu06aIJCLY,76942
464
464
  letta_client/tools/types/__init__.py,sha256=R11LYBi6lxkud_DRyaHFUHtlnbfnEI93-SEo7FL4tzs,478
465
465
  letta_client/tools/types/add_mcp_server_request.py,sha256=EieZjfOT95sjkpxXdqy7glpxF4J4J3fm6tlaHFnYk84,265
466
- letta_client/tools/types/add_mcp_server_response_item.py,sha256=pb3A4IoP7Qpen0UDDniXrASYEJZWnYnnrZThtPkvZt4,270
467
- letta_client/tools/types/delete_mcp_server_response_item.py,sha256=hKc4uehqcubO8BzpgMlvk2jJAjHXOWRM_zmWsCz_vZE,273
466
+ letta_client/tools/types/add_mcp_server_response_item.py,sha256=TWdsKqGb1INhYtpGnAckz0Pw4nZShumSp4pfocRfxCA,270
467
+ letta_client/tools/types/delete_mcp_server_response_item.py,sha256=MeZObU-7tMSCd-S5yuUjNDse6A1hUz1LLjbko0pXaro,273
468
468
  letta_client/tools/types/list_mcp_servers_response_value.py,sha256=AIoXu4bO8QNSU7zjL1jj0Rg4313wVtPaTt13W0aevLQ,273
469
469
  letta_client/types/__init__.py,sha256=TWfCMqSPdEGEfBWiy5EVmqL2tRr8vMPSWZzU_pgtqm4,18454
470
470
  letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
@@ -676,6 +676,6 @@ letta_client/voice/__init__.py,sha256=ZrZEuXIukVGhsfM-i0dIFfqjeSOBMPeEgDva7Vvnip
676
676
  letta_client/voice/client.py,sha256=O38dLq__WTwLPlFTtvw1hgqaPYK9alds_ft12Bnp5fs,6475
677
677
  letta_client/voice/types/__init__.py,sha256=hBLJcrom99DkDxxsVRU2ni8kPx6SsCy8gtAJvNOz26w,199
678
678
  letta_client/voice/types/create_voice_chat_completions_request.py,sha256=K4__83rXRCshfdobyAmH-5fUDJQ_PeSQetTUeC4Abk0,381
679
- letta_client-0.1.71.dist-info/METADATA,sha256=SxO_ayt9myoili3O0E124on4Tz2-UG-8T0qgmZYgkwI,5041
680
- letta_client-0.1.71.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
681
- letta_client-0.1.71.dist-info/RECORD,,
679
+ letta_client-0.1.73.dist-info/METADATA,sha256=KJfnDcTUv1L4JJx3KHGIchhVltZQ-GWo7aXwH6Qf7Uo,5041
680
+ letta_client-0.1.73.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
681
+ letta_client-0.1.73.dist-info/RECORD,,