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

@@ -518,6 +518,7 @@ class AgentsClient:
518
518
  file: core.File,
519
519
  append_copy_suffix: typing.Optional[bool] = OMIT,
520
520
  override_existing_tools: typing.Optional[bool] = OMIT,
521
+ override_embedding_handle: typing.Optional[str] = OMIT,
521
522
  project_id: typing.Optional[str] = OMIT,
522
523
  strip_messages: typing.Optional[bool] = OMIT,
523
524
  env_vars_json: typing.Optional[str] = OMIT,
@@ -538,6 +539,9 @@ class AgentsClient:
538
539
  override_existing_tools : typing.Optional[bool]
539
540
  If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
540
541
 
542
+ override_embedding_handle : typing.Optional[str]
543
+ Override import with specific embedding handle.
544
+
541
545
  project_id : typing.Optional[str]
542
546
  The project ID to associate the uploaded agent with.
543
547
 
@@ -569,6 +573,7 @@ class AgentsClient:
569
573
  file=file,
570
574
  append_copy_suffix=append_copy_suffix,
571
575
  override_existing_tools=override_existing_tools,
576
+ override_embedding_handle=override_embedding_handle,
572
577
  project_id=project_id,
573
578
  strip_messages=strip_messages,
574
579
  env_vars_json=env_vars_json,
@@ -1501,6 +1506,7 @@ class AsyncAgentsClient:
1501
1506
  file: core.File,
1502
1507
  append_copy_suffix: typing.Optional[bool] = OMIT,
1503
1508
  override_existing_tools: typing.Optional[bool] = OMIT,
1509
+ override_embedding_handle: typing.Optional[str] = OMIT,
1504
1510
  project_id: typing.Optional[str] = OMIT,
1505
1511
  strip_messages: typing.Optional[bool] = OMIT,
1506
1512
  env_vars_json: typing.Optional[str] = OMIT,
@@ -1521,6 +1527,9 @@ class AsyncAgentsClient:
1521
1527
  override_existing_tools : typing.Optional[bool]
1522
1528
  If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
1523
1529
 
1530
+ override_embedding_handle : typing.Optional[str]
1531
+ Override import with specific embedding handle.
1532
+
1524
1533
  project_id : typing.Optional[str]
1525
1534
  The project ID to associate the uploaded agent with.
1526
1535
 
@@ -1560,6 +1569,7 @@ class AsyncAgentsClient:
1560
1569
  file=file,
1561
1570
  append_copy_suffix=append_copy_suffix,
1562
1571
  override_existing_tools=override_existing_tools,
1572
+ override_embedding_handle=override_embedding_handle,
1563
1573
  project_id=project_id,
1564
1574
  strip_messages=strip_messages,
1565
1575
  env_vars_json=env_vars_json,
@@ -567,6 +567,7 @@ class RawAgentsClient:
567
567
  file: core.File,
568
568
  append_copy_suffix: typing.Optional[bool] = OMIT,
569
569
  override_existing_tools: typing.Optional[bool] = OMIT,
570
+ override_embedding_handle: typing.Optional[str] = OMIT,
570
571
  project_id: typing.Optional[str] = OMIT,
571
572
  strip_messages: typing.Optional[bool] = OMIT,
572
573
  env_vars_json: typing.Optional[str] = OMIT,
@@ -587,6 +588,9 @@ class RawAgentsClient:
587
588
  override_existing_tools : typing.Optional[bool]
588
589
  If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
589
590
 
591
+ override_embedding_handle : typing.Optional[str]
592
+ Override import with specific embedding handle.
593
+
590
594
  project_id : typing.Optional[str]
591
595
  The project ID to associate the uploaded agent with.
592
596
 
@@ -610,6 +614,7 @@ class RawAgentsClient:
610
614
  data={
611
615
  "append_copy_suffix": append_copy_suffix,
612
616
  "override_existing_tools": override_existing_tools,
617
+ "override_embedding_handle": override_embedding_handle,
613
618
  "project_id": project_id,
614
619
  "strip_messages": strip_messages,
615
620
  "env_vars_json": env_vars_json,
@@ -1697,6 +1702,7 @@ class AsyncRawAgentsClient:
1697
1702
  file: core.File,
1698
1703
  append_copy_suffix: typing.Optional[bool] = OMIT,
1699
1704
  override_existing_tools: typing.Optional[bool] = OMIT,
1705
+ override_embedding_handle: typing.Optional[str] = OMIT,
1700
1706
  project_id: typing.Optional[str] = OMIT,
1701
1707
  strip_messages: typing.Optional[bool] = OMIT,
1702
1708
  env_vars_json: typing.Optional[str] = OMIT,
@@ -1717,6 +1723,9 @@ class AsyncRawAgentsClient:
1717
1723
  override_existing_tools : typing.Optional[bool]
1718
1724
  If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
1719
1725
 
1726
+ override_embedding_handle : typing.Optional[str]
1727
+ Override import with specific embedding handle.
1728
+
1720
1729
  project_id : typing.Optional[str]
1721
1730
  The project ID to associate the uploaded agent with.
1722
1731
 
@@ -1740,6 +1749,7 @@ class AsyncRawAgentsClient:
1740
1749
  data={
1741
1750
  "append_copy_suffix": append_copy_suffix,
1742
1751
  "override_existing_tools": override_existing_tools,
1752
+ "override_embedding_handle": override_embedding_handle,
1743
1753
  "project_id": project_id,
1744
1754
  "strip_messages": strip_messages,
1745
1755
  "env_vars_json": env_vars_json,
@@ -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.288",
27
+ "User-Agent": "letta-client/0.1.290",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.288",
30
+ "X-Fern-SDK-Version": "0.1.290",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -3,6 +3,15 @@
3
3
  import typing
4
4
 
5
5
  StopReasonType = typing.Union[
6
- typing.Literal["end_turn", "error", "invalid_tool_call", "max_steps", "no_tool_call", "tool_rule", "cancelled"],
6
+ typing.Literal[
7
+ "end_turn",
8
+ "error",
9
+ "invalid_llm_response",
10
+ "invalid_tool_call",
11
+ "max_steps",
12
+ "no_tool_call",
13
+ "tool_rule",
14
+ "cancelled",
15
+ ],
7
16
  typing.Any,
8
17
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.288
3
+ Version: 0.1.290
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=M0gpBd7MoAWkOyBGCZ-IxxCXPcvjXGeDiWpPUl61nh8,73268
6
+ letta_client/agents/client.py,sha256=txXN5rtyN6ZArNusnIwuTvLpZkGtD1QAcmmFQQrFD0E,73762
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=SPM2ai4H0ww9w5X_qQicubIa00Jx7dpb0qONDVBuL9k,96814
38
+ letta_client/agents/raw_client.py,sha256=s8Ry5sNnTqwuKdYu3WM5xL_rCGQ0oUseRP0BzIwmM9I,97322
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=pioY7-XSXY7Ul7Ro1YYBaFmEVrKIrFv3UG3tW9dIV4A,2776
92
+ letta_client/core/client_wrapper.py,sha256=4-soOpl4hZ-FQwvNjrIwGgUZOS2IDo-zuSLyA9uFJl8,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
@@ -511,7 +511,7 @@ letta_client/types/step.py,sha256=r0RWvPiLUDstHKakLjMFC6SajsMNisPhiBuo32F48U4,41
511
511
  letta_client/types/step_feedback.py,sha256=JXUkclvJ6C-6ZTgd2lteOxqEyO5KRDNQ8ronBPYMdbo,160
512
512
  letta_client/types/step_metrics.py,sha256=yR_CQL3rH7S9p5NUUzIUwUVfUxtzR99s5eSsKV3TOzg,1870
513
513
  letta_client/types/step_status.py,sha256=OruAXMfFrCL0Bgoj7Wfjr8400ok5jcV4busa9NV-KIw,179
514
- letta_client/types/stop_reason_type.py,sha256=BgrPBP-v9YBOpGmpusQvVQqCLPNOQFl57kVrEpPMRKU,246
514
+ letta_client/types/stop_reason_type.py,sha256=--wsY8HavhA-tr8CguDDGK5hLu2hd71A_h4LcZvYcGs,341
515
515
  letta_client/types/streamable_http_server_config.py,sha256=GNbt2KO9VepHUtiMoK6htJLpFHcGoFJaoH1Az6zkt-Q,1776
516
516
  letta_client/types/supervisor_manager.py,sha256=tq3WDIxiyJJe4zf1Pf7UkMqTXcMF7NETLgFr-DCTNIc,677
517
517
  letta_client/types/supervisor_manager_update.py,sha256=srC_cYti3h_DdWRmcrLMgWnMS07Rpwo_U0tjCD19cb0,712
@@ -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.288.dist-info/METADATA,sha256=H3FBkXOSxS6DyVgjeBQ2uEogWoqrxGL1G6SdgyUR6Lc,5782
570
- letta_client-0.1.288.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
- letta_client-0.1.288.dist-info/RECORD,,
569
+ letta_client-0.1.290.dist-info/METADATA,sha256=9HeSfSublK1yplFpz76F0oQvq6wwl345wV49j8niYeY,5782
570
+ letta_client-0.1.290.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
+ letta_client-0.1.290.dist-info/RECORD,,