letta-client 0.1.316__py3-none-any.whl → 0.1.318__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/core/client_wrapper.py +2 -2
- letta_client/runs/types/letta_streaming_response.py +6 -0
- letta_client/types/step_metrics.py +10 -0
- {letta_client-0.1.316.dist-info → letta_client-0.1.318.dist-info}/METADATA +1 -1
- {letta_client-0.1.316.dist-info → letta_client-0.1.318.dist-info}/RECORD +6 -6
- {letta_client-0.1.316.dist-info → letta_client-0.1.318.dist-info}/WHEEL +0 -0
|
@@ -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.
|
|
27
|
+
"User-Agent": "letta-client/0.1.318",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-SDK-Name": "letta-client",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.318",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
+
from ...types.approval_request_message import ApprovalRequestMessage
|
|
6
|
+
from ...types.approval_response_message import ApprovalResponseMessage
|
|
5
7
|
from ...types.assistant_message import AssistantMessage
|
|
8
|
+
from ...types.hidden_reasoning_message import HiddenReasoningMessage
|
|
6
9
|
from ...types.letta_ping import LettaPing
|
|
7
10
|
from ...types.letta_stop_reason import LettaStopReason
|
|
8
11
|
from ...types.letta_usage_statistics import LettaUsageStatistics
|
|
@@ -16,9 +19,12 @@ LettaStreamingResponse = typing.Union[
|
|
|
16
19
|
SystemMessage,
|
|
17
20
|
UserMessage,
|
|
18
21
|
ReasoningMessage,
|
|
22
|
+
HiddenReasoningMessage,
|
|
19
23
|
ToolCallMessage,
|
|
20
24
|
ToolReturnMessage,
|
|
21
25
|
AssistantMessage,
|
|
26
|
+
ApprovalRequestMessage,
|
|
27
|
+
ApprovalResponseMessage,
|
|
22
28
|
LettaPing,
|
|
23
29
|
LettaStopReason,
|
|
24
30
|
LettaUsageStatistics,
|
|
@@ -28,6 +28,16 @@ class StepMetrics(UncheckedBaseModel):
|
|
|
28
28
|
The unique identifier of the agent.
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
+
step_start_ns: typing.Optional[int] = pydantic.Field(default=None)
|
|
32
|
+
"""
|
|
33
|
+
The timestamp of the start of the step in nanoseconds.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
llm_request_start_ns: typing.Optional[int] = pydantic.Field(default=None)
|
|
37
|
+
"""
|
|
38
|
+
The timestamp of the start of the llm request in nanoseconds.
|
|
39
|
+
"""
|
|
40
|
+
|
|
31
41
|
llm_request_ns: typing.Optional[int] = pydantic.Field(default=None)
|
|
32
42
|
"""
|
|
33
43
|
Time spent on LLM requests in nanoseconds.
|
|
@@ -93,7 +93,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
93
93
|
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
|
|
94
94
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
95
95
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
96
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
96
|
+
letta_client/core/client_wrapper.py,sha256=vWu3xS9Z6KsTLE0ScR93i5FyE-GmgGDakpc50bwT1o8,2776
|
|
97
97
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
98
98
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
99
99
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -176,7 +176,7 @@ letta_client/runs/steps/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUz
|
|
|
176
176
|
letta_client/runs/steps/client.py,sha256=4MiWOwmSiIX-0U_ic5a-x72Svjh2N7q6etXA5VJ9V30,6074
|
|
177
177
|
letta_client/runs/steps/raw_client.py,sha256=dbM7QYusDn_u4UYZl0I_jK-hCOek_m525we6boGo8jA,7973
|
|
178
178
|
letta_client/runs/types/__init__.py,sha256=_T3fEaCnP6BEwVQKFUrBv8iIjFqUrd-DF3hQFwjSb6Y,184
|
|
179
|
-
letta_client/runs/types/letta_streaming_response.py,sha256
|
|
179
|
+
letta_client/runs/types/letta_streaming_response.py,sha256=-jpHj43Ju6USMtwhxl2nZWWK_GBOk7af0I1alOFOFTw,1086
|
|
180
180
|
letta_client/runs/usage/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
181
181
|
letta_client/runs/usage/client.py,sha256=pTs7XvHjETe7lbSWjgy1GdLzS03j9VWHrY3TULhlcVM,2919
|
|
182
182
|
letta_client/runs/usage/raw_client.py,sha256=cNOsh9fT6MifL9Nh7sEpuNo6LmU0C0AfRv-K2HWPLFo,4628
|
|
@@ -541,7 +541,7 @@ letta_client/types/sse_server_config.py,sha256=UbSmODGr5nxVMqTGtSvEbZyN2V8P_T0cO
|
|
|
541
541
|
letta_client/types/stdio_server_config.py,sha256=kuPmwj9lDTz7jBY1jh5VH-ns3ffctWwatT_emXyyTFE,1092
|
|
542
542
|
letta_client/types/step.py,sha256=r0RWvPiLUDstHKakLjMFC6SajsMNisPhiBuo32F48U4,4190
|
|
543
543
|
letta_client/types/step_feedback.py,sha256=JXUkclvJ6C-6ZTgd2lteOxqEyO5KRDNQ8ronBPYMdbo,160
|
|
544
|
-
letta_client/types/step_metrics.py,sha256=
|
|
544
|
+
letta_client/types/step_metrics.py,sha256=TvJtShzqEmS0chdIZKVEII0pz-nZaWT9Ud0Jvz6O3pk,2178
|
|
545
545
|
letta_client/types/step_status.py,sha256=OruAXMfFrCL0Bgoj7Wfjr8400ok5jcV4busa9NV-KIw,179
|
|
546
546
|
letta_client/types/stop_reason_type.py,sha256=2vBs9hBbDlJL736KIwyocEqcaa8Tyy1c-L10wwOz1jc,370
|
|
547
547
|
letta_client/types/streamable_http_server_config.py,sha256=GNbt2KO9VepHUtiMoK6htJLpFHcGoFJaoH1Az6zkt-Q,1776
|
|
@@ -598,6 +598,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
598
598
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
599
599
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
600
600
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
601
|
-
letta_client-0.1.
|
|
602
|
-
letta_client-0.1.
|
|
603
|
-
letta_client-0.1.
|
|
601
|
+
letta_client-0.1.318.dist-info/METADATA,sha256=bqZwLsbDoM6U5g1juX4FAosWQ28DNidUS6ZhWkH4rAo,5782
|
|
602
|
+
letta_client-0.1.318.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
603
|
+
letta_client-0.1.318.dist-info/RECORD,,
|
|
File without changes
|