letta-client 0.1.244__py3-none-any.whl → 0.1.246__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
@@ -218,6 +218,7 @@ from .types import (
218
218
  StdioServerConfig,
219
219
  Step,
220
220
  StepFeedback,
221
+ StepStatus,
221
222
  StopReasonType,
222
223
  StreamableHttpServerConfig,
223
224
  SupervisorManager,
@@ -609,6 +610,7 @@ __all__ = [
609
610
  "StdioServerConfig",
610
611
  "Step",
611
612
  "StepFeedback",
613
+ "StepStatus",
612
614
  "StepsListRequestFeedback",
613
615
  "StopReasonType",
614
616
  "StreamableHttpServerConfig",
@@ -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.244",
27
+ "User-Agent": "letta-client/0.1.246",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.244",
30
+ "X-Fern-SDK-Version": "0.1.246",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -221,6 +221,7 @@ from .sse_server_config import SseServerConfig
221
221
  from .stdio_server_config import StdioServerConfig
222
222
  from .step import Step
223
223
  from .step_feedback import StepFeedback
224
+ from .step_status import StepStatus
224
225
  from .stop_reason_type import StopReasonType
225
226
  from .streamable_http_server_config import StreamableHttpServerConfig
226
227
  from .supervisor_manager import SupervisorManager
@@ -490,6 +491,7 @@ __all__ = [
490
491
  "StdioServerConfig",
491
492
  "Step",
492
493
  "StepFeedback",
494
+ "StepStatus",
493
495
  "StopReasonType",
494
496
  "StreamableHttpServerConfig",
495
497
  "SupervisorManager",
@@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
7
  from ..core.unchecked_base_model import UncheckedBaseModel
8
8
  from .message import Message
9
9
  from .step_feedback import StepFeedback
10
+ from .step_status import StepStatus
10
11
  from .stop_reason_type import StopReasonType
11
12
 
12
13
 
@@ -118,6 +119,21 @@ class Step(UncheckedBaseModel):
118
119
  The project that the agent that executed this step belongs to (cloud only).
119
120
  """
120
121
 
122
+ error_type: typing.Optional[str] = pydantic.Field(default=None)
123
+ """
124
+ The type/class of the error that occurred
125
+ """
126
+
127
+ error_data: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
128
+ """
129
+ Error details including message, traceback, and additional context
130
+ """
131
+
132
+ status: typing.Optional[StepStatus] = pydantic.Field(default=None)
133
+ """
134
+ Step status: pending, success, or failed
135
+ """
136
+
121
137
  if IS_PYDANTIC_V2:
122
138
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
123
139
  else:
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ StepStatus = typing.Union[typing.Literal["pending", "success", "failed", "cancelled"], typing.Any]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.244
3
+ Version: 0.1.246
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=0sZxAGmS_F0mznW1Y14gY6-7t1GSehRQEiBVzEnkUPM,19880
1
+ letta_client/__init__.py,sha256=FDg2WRH0bQ3nb0zaaZGN2txuADdvM0_Raf8mDq-qgnc,19914
2
2
  letta_client/agents/__init__.py,sha256=JkuWGGNJsCfnMr2DFzQ1SiqEB1tcFZnafdidODi0_DY,2166
3
3
  letta_client/agents/blocks/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
4
4
  letta_client/agents/blocks/client.py,sha256=Akx-1SYEXkmdtLtytPtdFNhVts8JkjC2aMQnnWgd8Ug,14735
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
92
92
  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
93
93
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
94
94
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
95
- letta_client/core/client_wrapper.py,sha256=eWneqEyfqfoho5XBnJKTnh2Q6lzPLQHMg1r7dXa2FuI,2776
95
+ letta_client/core/client_wrapper.py,sha256=o2tMUTqvuRt4axFadqBEM2viJ8GU4eVBJcO21QkSMCo,2776
96
96
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
97
97
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
98
98
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -228,7 +228,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
228
228
  letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
229
229
  letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
230
230
  letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
231
- letta_client/types/__init__.py,sha256=FND7CaTtiN3SlQ6Z72-tcCcKcbAWinj_lAdQFoGSqgw,23594
231
+ letta_client/types/__init__.py,sha256=Qrsbm1aP0s7lssQH9ocg8A2hBgYB3y_NTo4bYdDEBPA,23648
232
232
  letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
233
233
  letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
234
234
  letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
@@ -442,8 +442,9 @@ letta_client/types/source_stats.py,sha256=XtxJSOE6fSymNjcvdlhBFQjKjGbPHK57Tb5nTQ
442
442
  letta_client/types/source_update.py,sha256=VffzGOfHTFncuGOhb4yvLebdXD6mTTD5SfqhlYBnWzo,1330
443
443
  letta_client/types/sse_server_config.py,sha256=UbSmODGr5nxVMqTGtSvEbZyN2V8P_T0cOEh2ffc0-uM,1739
444
444
  letta_client/types/stdio_server_config.py,sha256=kuPmwj9lDTz7jBY1jh5VH-ns3ffctWwatT_emXyyTFE,1092
445
- letta_client/types/step.py,sha256=XxwuAByOCIWpbmNsxMwztQ_NrOl8Vr9-znmTbnzU5Hc,3692
445
+ letta_client/types/step.py,sha256=r0RWvPiLUDstHKakLjMFC6SajsMNisPhiBuo32F48U4,4190
446
446
  letta_client/types/step_feedback.py,sha256=JXUkclvJ6C-6ZTgd2lteOxqEyO5KRDNQ8ronBPYMdbo,160
447
+ letta_client/types/step_status.py,sha256=OruAXMfFrCL0Bgoj7Wfjr8400ok5jcV4busa9NV-KIw,179
447
448
  letta_client/types/stop_reason_type.py,sha256=BgrPBP-v9YBOpGmpusQvVQqCLPNOQFl57kVrEpPMRKU,246
448
449
  letta_client/types/streamable_http_server_config.py,sha256=GNbt2KO9VepHUtiMoK6htJLpFHcGoFJaoH1Az6zkt-Q,1776
449
450
  letta_client/types/supervisor_manager.py,sha256=tq3WDIxiyJJe4zf1Pf7UkMqTXcMF7NETLgFr-DCTNIc,677
@@ -500,6 +501,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
500
501
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
501
502
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
502
503
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
503
- letta_client-0.1.244.dist-info/METADATA,sha256=qdFdKcfe09_K4WpBhhFHzCKAuf1P5fP9M6a5bwY7ffQ,5781
504
- letta_client-0.1.244.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
505
- letta_client-0.1.244.dist-info/RECORD,,
504
+ letta_client-0.1.246.dist-info/METADATA,sha256=GnzX7WE71ov7Jz90nQPAXFTeVqRI-ILEkPLm2QiU2Gg,5781
505
+ letta_client-0.1.246.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
506
+ letta_client-0.1.246.dist-info/RECORD,,