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

@@ -242,6 +242,7 @@ class AgentsClient:
242
242
  message_buffer_autoclear: typing.Optional[bool] = OMIT,
243
243
  enable_sleeptime: typing.Optional[bool] = OMIT,
244
244
  response_format: typing.Optional[CreateAgentRequestResponseFormat] = OMIT,
245
+ timezone: typing.Optional[str] = OMIT,
245
246
  request_options: typing.Optional[RequestOptions] = None,
246
247
  ) -> AgentState:
247
248
  """
@@ -362,6 +363,9 @@ class AgentsClient:
362
363
  response_format : typing.Optional[CreateAgentRequestResponseFormat]
363
364
  The response format for the agent.
364
365
 
366
+ timezone : typing.Optional[str]
367
+ The timezone of the agent (IANA format).
368
+
365
369
  request_options : typing.Optional[RequestOptions]
366
370
  Request-specific configuration.
367
371
 
@@ -432,6 +436,7 @@ class AgentsClient:
432
436
  "response_format": convert_and_respect_annotation_metadata(
433
437
  object_=response_format, annotation=CreateAgentRequestResponseFormat, direction="write"
434
438
  ),
439
+ "timezone": timezone,
435
440
  },
436
441
  headers={
437
442
  "content-type": "application/json",
@@ -813,6 +818,7 @@ class AgentsClient:
813
818
  response_format: typing.Optional[UpdateAgentResponseFormat] = OMIT,
814
819
  last_run_completion: typing.Optional[dt.datetime] = OMIT,
815
820
  last_run_duration_ms: typing.Optional[int] = OMIT,
821
+ timezone: typing.Optional[str] = OMIT,
816
822
  request_options: typing.Optional[RequestOptions] = None,
817
823
  ) -> AgentState:
818
824
  """
@@ -894,6 +900,9 @@ class AgentsClient:
894
900
  last_run_duration_ms : typing.Optional[int]
895
901
  The duration in milliseconds of the agent's last run.
896
902
 
903
+ timezone : typing.Optional[str]
904
+ The timezone of the agent (IANA format).
905
+
897
906
  request_options : typing.Optional[RequestOptions]
898
907
  Request-specific configuration.
899
908
 
@@ -949,6 +958,7 @@ class AgentsClient:
949
958
  ),
950
959
  "last_run_completion": last_run_completion,
951
960
  "last_run_duration_ms": last_run_duration_ms,
961
+ "timezone": timezone,
952
962
  },
953
963
  headers={
954
964
  "content-type": "application/json",
@@ -1332,6 +1342,7 @@ class AsyncAgentsClient:
1332
1342
  message_buffer_autoclear: typing.Optional[bool] = OMIT,
1333
1343
  enable_sleeptime: typing.Optional[bool] = OMIT,
1334
1344
  response_format: typing.Optional[CreateAgentRequestResponseFormat] = OMIT,
1345
+ timezone: typing.Optional[str] = OMIT,
1335
1346
  request_options: typing.Optional[RequestOptions] = None,
1336
1347
  ) -> AgentState:
1337
1348
  """
@@ -1452,6 +1463,9 @@ class AsyncAgentsClient:
1452
1463
  response_format : typing.Optional[CreateAgentRequestResponseFormat]
1453
1464
  The response format for the agent.
1454
1465
 
1466
+ timezone : typing.Optional[str]
1467
+ The timezone of the agent (IANA format).
1468
+
1455
1469
  request_options : typing.Optional[RequestOptions]
1456
1470
  Request-specific configuration.
1457
1471
 
@@ -1530,6 +1544,7 @@ class AsyncAgentsClient:
1530
1544
  "response_format": convert_and_respect_annotation_metadata(
1531
1545
  object_=response_format, annotation=CreateAgentRequestResponseFormat, direction="write"
1532
1546
  ),
1547
+ "timezone": timezone,
1533
1548
  },
1534
1549
  headers={
1535
1550
  "content-type": "application/json",
@@ -1951,6 +1966,7 @@ class AsyncAgentsClient:
1951
1966
  response_format: typing.Optional[UpdateAgentResponseFormat] = OMIT,
1952
1967
  last_run_completion: typing.Optional[dt.datetime] = OMIT,
1953
1968
  last_run_duration_ms: typing.Optional[int] = OMIT,
1969
+ timezone: typing.Optional[str] = OMIT,
1954
1970
  request_options: typing.Optional[RequestOptions] = None,
1955
1971
  ) -> AgentState:
1956
1972
  """
@@ -2032,6 +2048,9 @@ class AsyncAgentsClient:
2032
2048
  last_run_duration_ms : typing.Optional[int]
2033
2049
  The duration in milliseconds of the agent's last run.
2034
2050
 
2051
+ timezone : typing.Optional[str]
2052
+ The timezone of the agent (IANA format).
2053
+
2035
2054
  request_options : typing.Optional[RequestOptions]
2036
2055
  Request-specific configuration.
2037
2056
 
@@ -2095,6 +2114,7 @@ class AsyncAgentsClient:
2095
2114
  ),
2096
2115
  "last_run_completion": last_run_completion,
2097
2116
  "last_run_duration_ms": last_run_duration_ms,
2117
+ "timezone": timezone,
2098
2118
  },
2099
2119
  headers={
2100
2120
  "content-type": "application/json",
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "letta-client",
19
- "X-Fern-SDK-Version": "0.1.168",
19
+ "X-Fern-SDK-Version": "0.1.170",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -180,6 +180,11 @@ class AgentState(UncheckedBaseModel):
180
180
  The duration in milliseconds of the agent's last run.
181
181
  """
182
182
 
183
+ timezone: typing.Optional[str] = pydantic.Field(default=None)
184
+ """
185
+ The timezone of the agent (IANA format).
186
+ """
187
+
183
188
  if IS_PYDANTIC_V2:
184
189
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
185
190
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.168
3
+ Version: 0.1.170
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -2,7 +2,7 @@ letta_client/__init__.py,sha256=Uv2lKOc9DGdpjZ2KUjxHAWQtEpN24bA5eWpeziiknFI,1771
2
2
  letta_client/agents/__init__.py,sha256=c_9OiE6ofyiPcq9BP37qvo7h0SKmw34PKN3KMxuRja0,1780
3
3
  letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  letta_client/agents/blocks/client.py,sha256=ecE03lE5tP1AtCMFLT9FzdYyQMx_D7NI5m42b41pV40,24684
5
- letta_client/agents/client.py,sha256=baQrl1WhyBWCLe5Ve4TIIQRm8_EBk3K8YxH6TetJCaU,87911
5
+ letta_client/agents/client.py,sha256=OBKxImstibXHF0YrEiBFsOfzVkoawmuAtvlM8rNVqYY,88627
6
6
  letta_client/agents/context/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
7
7
  letta_client/agents/context/client.py,sha256=GKKvoG4N_K8Biz9yDjeIHpFG0C8Cwc7tHmEX3pTL_9U,4815
8
8
  letta_client/agents/core_memory/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -63,7 +63,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_create_re
63
63
  letta_client/client_side_access_tokens/types/client_side_access_tokens_create_response_policy_data_item_access_item.py,sha256=R-H25IpNp9feSrW8Yj3h9O3UTMVvFniQJElogKxLuoE,254
64
64
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
65
65
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
66
- letta_client/core/client_wrapper.py,sha256=GK1sbQjTWUpc3SKclQjZuZGtwEwCTs7MLE6P4iL_QdI,1998
66
+ letta_client/core/client_wrapper.py,sha256=yr3JmXo86nPUhVqQtPmKZoABMBGS1AtkpBYl9oJ1C0E,1998
67
67
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
68
68
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
69
69
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -160,7 +160,7 @@ letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcf
160
160
  letta_client/types/agent_environment_variable.py,sha256=vutZLcR0yETltgOZ7E_o9kR4vOdBxybVL9lzXSux75w,1698
161
161
  letta_client/types/agent_schema.py,sha256=uTSjFAsnEYdOX-PRD2vHbn69JBe8GKbctvlDOP85k_U,1784
162
162
  letta_client/types/agent_schema_tool_rules_item.py,sha256=TTP7uKYPSe-EAl4p03j0Kd-W9tG5T6gfaWIUBAOVv9U,482
163
- letta_client/types/agent_state.py,sha256=A_ehJ1jirLIBDfYbr8hyWmga3C9f8SmmNHf60j_q4_g,5931
163
+ letta_client/types/agent_state.py,sha256=gPxUWHg-Ie8q2PAfHezDxtz4SQfEirH_r69DSQ7-u9M,6059
164
164
  letta_client/types/agent_state_response_format.py,sha256=HISBgCumQxw6nQeDUMBu-IlghaLeWRb7BHHNaz_e8Hc,377
165
165
  letta_client/types/agent_state_tool_rules_item.py,sha256=jyh3KFcVWnw2kcDgr3M4aXagXpVshOoMRhoC6JhDaSM,728
166
166
  letta_client/types/agent_type.py,sha256=C7krJfPZvZDZrEqizp5UdUF4T6omXIu8m1XgVgg7JKc,321
@@ -405,6 +405,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
405
405
  letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
406
406
  letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
407
407
  letta_client/voice/client.py,sha256=EX79F2D5bieXNP8g1ZPw8xwAzqE1A3hshCHUSlTV1kw,5739
408
- letta_client-0.1.168.dist-info/METADATA,sha256=SNpl1b1QAMfECqkUn4wT67yCGXY5XKJ7Nk5-fvhAg9w,5093
409
- letta_client-0.1.168.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
410
- letta_client-0.1.168.dist-info/RECORD,,
408
+ letta_client-0.1.170.dist-info/METADATA,sha256=Na5SZAUbxMcHH2PFcCxY0pb6djKaFEC-ssk8Epu3pjk,5093
409
+ letta_client-0.1.170.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
410
+ letta_client-0.1.170.dist-info/RECORD,,