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

@@ -516,6 +516,7 @@ class AgentsClient:
516
516
  self,
517
517
  *,
518
518
  file: core.File,
519
+ override_embedding_model: typing.Optional[str] = None,
519
520
  append_copy_suffix: typing.Optional[bool] = OMIT,
520
521
  override_existing_tools: typing.Optional[bool] = OMIT,
521
522
  override_embedding_handle: typing.Optional[str] = OMIT,
@@ -533,6 +534,8 @@ class AgentsClient:
533
534
  file : core.File
534
535
  See core.File for more documentation
535
536
 
537
+ override_embedding_model : typing.Optional[str]
538
+
536
539
  append_copy_suffix : typing.Optional[bool]
537
540
  If set to True, appends "_copy" to the end of the agent name.
538
541
 
@@ -571,6 +574,7 @@ class AgentsClient:
571
574
  """
572
575
  _response = self._raw_client.import_file(
573
576
  file=file,
577
+ override_embedding_model=override_embedding_model,
574
578
  append_copy_suffix=append_copy_suffix,
575
579
  override_existing_tools=override_existing_tools,
576
580
  override_embedding_handle=override_embedding_handle,
@@ -1504,6 +1508,7 @@ class AsyncAgentsClient:
1504
1508
  self,
1505
1509
  *,
1506
1510
  file: core.File,
1511
+ override_embedding_model: typing.Optional[str] = None,
1507
1512
  append_copy_suffix: typing.Optional[bool] = OMIT,
1508
1513
  override_existing_tools: typing.Optional[bool] = OMIT,
1509
1514
  override_embedding_handle: typing.Optional[str] = OMIT,
@@ -1521,6 +1526,8 @@ class AsyncAgentsClient:
1521
1526
  file : core.File
1522
1527
  See core.File for more documentation
1523
1528
 
1529
+ override_embedding_model : typing.Optional[str]
1530
+
1524
1531
  append_copy_suffix : typing.Optional[bool]
1525
1532
  If set to True, appends "_copy" to the end of the agent name.
1526
1533
 
@@ -1567,6 +1574,7 @@ class AsyncAgentsClient:
1567
1574
  """
1568
1575
  _response = await self._raw_client.import_file(
1569
1576
  file=file,
1577
+ override_embedding_model=override_embedding_model,
1570
1578
  append_copy_suffix=append_copy_suffix,
1571
1579
  override_existing_tools=override_existing_tools,
1572
1580
  override_embedding_handle=override_embedding_handle,
@@ -565,6 +565,7 @@ class RawAgentsClient:
565
565
  self,
566
566
  *,
567
567
  file: core.File,
568
+ override_embedding_model: typing.Optional[str] = None,
568
569
  append_copy_suffix: typing.Optional[bool] = OMIT,
569
570
  override_existing_tools: typing.Optional[bool] = OMIT,
570
571
  override_embedding_handle: typing.Optional[str] = OMIT,
@@ -582,6 +583,8 @@ class RawAgentsClient:
582
583
  file : core.File
583
584
  See core.File for more documentation
584
585
 
586
+ override_embedding_model : typing.Optional[str]
587
+
585
588
  append_copy_suffix : typing.Optional[bool]
586
589
  If set to True, appends "_copy" to the end of the agent name.
587
590
 
@@ -622,6 +625,11 @@ class RawAgentsClient:
622
625
  files={
623
626
  "file": file,
624
627
  },
628
+ headers={
629
+ "x-override-embedding-model": str(override_embedding_model)
630
+ if override_embedding_model is not None
631
+ else None,
632
+ },
625
633
  request_options=request_options,
626
634
  omit=OMIT,
627
635
  force_multipart=True,
@@ -1700,6 +1708,7 @@ class AsyncRawAgentsClient:
1700
1708
  self,
1701
1709
  *,
1702
1710
  file: core.File,
1711
+ override_embedding_model: typing.Optional[str] = None,
1703
1712
  append_copy_suffix: typing.Optional[bool] = OMIT,
1704
1713
  override_existing_tools: typing.Optional[bool] = OMIT,
1705
1714
  override_embedding_handle: typing.Optional[str] = OMIT,
@@ -1717,6 +1726,8 @@ class AsyncRawAgentsClient:
1717
1726
  file : core.File
1718
1727
  See core.File for more documentation
1719
1728
 
1729
+ override_embedding_model : typing.Optional[str]
1730
+
1720
1731
  append_copy_suffix : typing.Optional[bool]
1721
1732
  If set to True, appends "_copy" to the end of the agent name.
1722
1733
 
@@ -1757,6 +1768,11 @@ class AsyncRawAgentsClient:
1757
1768
  files={
1758
1769
  "file": file,
1759
1770
  },
1771
+ headers={
1772
+ "x-override-embedding-model": str(override_embedding_model)
1773
+ if override_embedding_model is not None
1774
+ else None,
1775
+ },
1760
1776
  request_options=request_options,
1761
1777
  omit=OMIT,
1762
1778
  force_multipart=True,
@@ -24,10 +24,10 @@ class BaseClientWrapper:
24
24
 
25
25
  def get_headers(self) -> typing.Dict[str, str]:
26
26
  headers: typing.Dict[str, str] = {
27
- "User-Agent": "letta-client/0.1.291",
27
+ "User-Agent": "letta-client/0.1.292",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.291",
30
+ "X-Fern-SDK-Version": "0.1.292",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.291
3
+ Version: 0.1.292
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -3,7 +3,7 @@ letta_client/agents/__init__.py,sha256=mrreK8Hk5PitAA7gomrc2g9EW9idazMGLDTHBAPrR
3
3
  letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
4
4
  letta_client/agents/blocks/client.py,sha256=CUwVh5FHgD0YP3VNhUrWdkedMWk49yH3IiDD589AWEM,15809
5
5
  letta_client/agents/blocks/raw_client.py,sha256=Cx_85c78oqIOPZIPfCOsIa8WOL2EUNRwXJRGbOqn2AA,25570
6
- letta_client/agents/client.py,sha256=txXN5rtyN6ZArNusnIwuTvLpZkGtD1QAcmmFQQrFD0E,73762
6
+ letta_client/agents/client.py,sha256=Vbp6YR8VGA47BZdPx-sB3TP8ziFqCcR97_NBK54jiF0,74128
7
7
  letta_client/agents/context/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
8
8
  letta_client/agents/context/client.py,sha256=fhpJFWRs6INGreRyEw9gsFnlUWR48vIHbN_jVIHIBrw,3052
9
9
  letta_client/agents/context/raw_client.py,sha256=j2gko-oEFWuCgPkcX9jCv31OWvR6sTOtAYcSWllXYDs,4747
@@ -35,7 +35,7 @@ letta_client/agents/messages/types/messages_preview_raw_payload_request.py,sha25
35
35
  letta_client/agents/passages/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
36
36
  letta_client/agents/passages/client.py,sha256=XHPpqOH2BDjHkegTRM9MRdDVxW5VH40ERSFvWchWT48,16785
37
37
  letta_client/agents/passages/raw_client.py,sha256=TnNrFsnrexrPVmemkFbRIBfFMcq1Iap2qk23L7mr1Z0,25710
38
- letta_client/agents/raw_client.py,sha256=s8Ry5sNnTqwuKdYu3WM5xL_rCGQ0oUseRP0BzIwmM9I,97322
38
+ letta_client/agents/raw_client.py,sha256=h3USsoctFijFNYUQDi6OdgvpJBtj7a8ekrL58EtsV7A,97954
39
39
  letta_client/agents/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
40
40
  letta_client/agents/sources/client.py,sha256=lCqB6FF9svrwf0oZSFs41WKlMXc-YRhUeb4FZkHbicM,6868
41
41
  letta_client/agents/sources/raw_client.py,sha256=ts4c5UBuXzrHU-lFWWrYniQqrMEc8SN0rfiqNXJLP5Y,12399
@@ -89,7 +89,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
89
89
  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
90
90
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
91
91
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
92
- letta_client/core/client_wrapper.py,sha256=gV0nEWwpEBvS9vZK596Xs0YJu6X-ymdb4sdwLQF-i6Q,2776
92
+ letta_client/core/client_wrapper.py,sha256=wvGuWzw-3GOwgE5JYNao1qxd5UKv4DIzWvcDtoZvHr8,2776
93
93
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
94
94
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
95
95
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -566,6 +566,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
566
566
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
567
567
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
568
568
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
569
- letta_client-0.1.291.dist-info/METADATA,sha256=qwofn-msHVh-6Do02jW7Sk28tLk7OzTJP0c1VAFVMSw,5782
570
- letta_client-0.1.291.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
- letta_client-0.1.291.dist-info/RECORD,,
569
+ letta_client-0.1.292.dist-info/METADATA,sha256=4Fcx61qxwTn0AumFq3nHG4WX0r-g-6_knPKvK5jDGuw,5782
570
+ letta_client-0.1.292.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
+ letta_client-0.1.292.dist-info/RECORD,,