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

@@ -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.243",
27
+ "User-Agent": "letta-client/0.1.245",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.243",
30
+ "X-Fern-SDK-Version": "0.1.245",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -67,6 +67,16 @@ class BatchJob(UncheckedBaseModel):
67
67
  Optional error message from attempting to POST the callback endpoint.
68
68
  """
69
69
 
70
+ ttft_ns: typing.Optional[int] = pydantic.Field(default=None)
71
+ """
72
+ Time to first token for a run in nanoseconds
73
+ """
74
+
75
+ total_duration_ns: typing.Optional[int] = pydantic.Field(default=None)
76
+ """
77
+ Total run duration in nanoseconds
78
+ """
79
+
70
80
  id: typing.Optional[str] = pydantic.Field(default=None)
71
81
  """
72
82
  The human-friendly ID of the Job
letta_client/types/job.py CHANGED
@@ -82,6 +82,16 @@ class Job(UncheckedBaseModel):
82
82
  Optional error message from attempting to POST the callback endpoint.
83
83
  """
84
84
 
85
+ ttft_ns: typing.Optional[int] = pydantic.Field(default=None)
86
+ """
87
+ Time to first token for a run in nanoseconds
88
+ """
89
+
90
+ total_duration_ns: typing.Optional[int] = pydantic.Field(default=None)
91
+ """
92
+ Total run duration in nanoseconds
93
+ """
94
+
85
95
  id: typing.Optional[str] = pydantic.Field(default=None)
86
96
  """
87
97
  The human-friendly ID of the Job
letta_client/types/run.py CHANGED
@@ -80,6 +80,16 @@ class Run(UncheckedBaseModel):
80
80
  Optional error message from attempting to POST the callback endpoint.
81
81
  """
82
82
 
83
+ ttft_ns: typing.Optional[int] = pydantic.Field(default=None)
84
+ """
85
+ Time to first token for a run in nanoseconds
86
+ """
87
+
88
+ total_duration_ns: typing.Optional[int] = pydantic.Field(default=None)
89
+ """
90
+ Total run duration in nanoseconds
91
+ """
92
+
83
93
  id: typing.Optional[str] = pydantic.Field(default=None)
84
94
  """
85
95
  The human-friendly ID of the Run
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.243
3
+ Version: 0.1.245
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -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=sl3wXpkRFyOAKOcfgN7Li-ZqpTXhf1ziSVdV-uNwytc,2776
95
+ letta_client/core/client_wrapper.py,sha256=Qrdu_-c5WYNoEydYSQokRPA0jOWn53KL2CAqJEQXksM,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
@@ -251,7 +251,7 @@ letta_client/types/auth_scheme_field.py,sha256=OFoPs6Xdvw-Z13mb7lQFf25z0IE6Z83f_
251
251
  letta_client/types/bad_request_error_body.py,sha256=FXRnHlblilUaHvShh1ia8TgLy5Z1HWwfx7-OE-6d3AQ,568
252
252
  letta_client/types/base_64_image.py,sha256=Ta6vR3od9sYQGrWgOSrFq7cS0-mm6cGTa2gWdFpSmo0,965
253
253
  letta_client/types/base_tool_rule_schema.py,sha256=e2pHhj1fdWmuBfkyD_MODwCQnM_MrN6LL2CEx0SqKvY,583
254
- letta_client/types/batch_job.py,sha256=XTPL475ne6tdtvOr1-rOj3arZqSPY7P_TNTuJ5ifbW4,2365
254
+ letta_client/types/batch_job.py,sha256=5Pgj28hwt_MbNbZM6htqFtwJRjdydfbnucAfVdt-Sug,2626
255
255
  letta_client/types/block.py,sha256=V47iVJFFeXhaH263OCM2iVptGftlc7AoZtGIY7qb5Yc,3302
256
256
  letta_client/types/block_update.py,sha256=f2ClrX0b5iPfoxmRZ5IVGK039VRDYqe0UXYGjLy3Eow,1898
257
257
  letta_client/types/chat_completion_assistant_message_param.py,sha256=y5hJElchy7k5qfMN4ygT8Tw-Z7-b-afYFP-Ttyleaps,1220
@@ -352,7 +352,7 @@ letta_client/types/init_tool_rule.py,sha256=ybXzH1cWQesY2Z4Umf3lnGep8TmulRW6OCtr
352
352
  letta_client/types/input_audio.py,sha256=l4T076iM05SxiqBx5TEkE4baG99rk1olL6hmVictuJQ,634
353
353
  letta_client/types/input_audio_format.py,sha256=QQFfndI9w66wIbGyHwfmJnk2bEJDPmEs9GybkaNL6AI,154
354
354
  letta_client/types/internal_server_error_body.py,sha256=OGgSj6M7Vna5oxesOOYlBTzIDCavTy3Y_IakjwvDU-Q,654
355
- letta_client/types/job.py,sha256=5-OST7VctI0p4PoDnkJUPkinzJJi93O_nxCaejFRkDk,2927
355
+ letta_client/types/job.py,sha256=b0eEVqG-wNxJJR_DIfsgdMh2FkZUKH_H19SIWVYdk30,3188
356
356
  letta_client/types/job_status.py,sha256=hfkoSxAxkPegq1FSzzCTWQCBzoJwlvyrYnxtC0LzfUs,219
357
357
  letta_client/types/job_type.py,sha256=HXYrfzPwxI54PqV7OVcMhewSJ_pBNHc14s9LcExr7Ss,154
358
358
  letta_client/types/json_object_response_format.py,sha256=POxWWP3fHht3VcaQfpoMJ1HcyjItiv05zbfgILUbMww,676
@@ -424,7 +424,7 @@ letta_client/types/response_format_json_schema.py,sha256=Yxz8QL1_s7vIAuzap82IPfy
424
424
  letta_client/types/response_format_text.py,sha256=q9U4VDi57FPpqCVVPk-_21e0fbIohBPLDqWR-tAV2ls,592
425
425
  letta_client/types/round_robin_manager.py,sha256=cGnv5WFZowjguzNLX9Nv3DDfdgzDolN3onSkLLjAl6Y,701
426
426
  letta_client/types/round_robin_manager_update.py,sha256=0auliO4ChHHCexaiEfXKmERz_4IWz5YvjRsQHbUqVCI,707
427
- letta_client/types/run.py,sha256=77VIyOxIbooWPE2VPVwTjUrhtMJ978j8Hd-RjX7SLJI,3111
427
+ letta_client/types/run.py,sha256=cF_Hf_J4x8MD4lXqttv5BNPqo-sYePyfLPuRQTwwngg,3372
428
428
  letta_client/types/sandbox_config.py,sha256=YWQpDOHkiqEtp-xa4jjQA3QyGq4ZXNU8UDardnAvxhw,1551
429
429
  letta_client/types/sandbox_config_create.py,sha256=fGMGiKbuf5ii1o-tHRHAjnAu0FB4JktMjlvu6uBRAsY,731
430
430
  letta_client/types/sandbox_config_create_config.py,sha256=0jPsYtxeoRXMLppFjWZCCjyobuBvlkf-GhAOdH8bmt4,337
@@ -500,6 +500,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
500
500
  letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
501
501
  letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
502
502
  letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
503
- letta_client-0.1.243.dist-info/METADATA,sha256=7TXSPJYxRfIgj5IWxf5nn363z2ZpsmUK8zLIGfcjOi0,5781
504
- letta_client-0.1.243.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
505
- letta_client-0.1.243.dist-info/RECORD,,
503
+ letta_client-0.1.245.dist-info/METADATA,sha256=Y0xKbPKGJaGdDm02wfDHNmG95801yqlA38cO9vMvtOI,5781
504
+ letta_client-0.1.245.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
505
+ letta_client-0.1.245.dist-info/RECORD,,