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

@@ -520,7 +520,7 @@ class AgentsClient:
520
520
  override_existing_tools: typing.Optional[bool] = OMIT,
521
521
  project_id: typing.Optional[str] = OMIT,
522
522
  strip_messages: typing.Optional[bool] = OMIT,
523
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
523
+ env_vars_json: typing.Optional[str] = OMIT,
524
524
  request_options: typing.Optional[RequestOptions] = None,
525
525
  ) -> ImportedAgentsResponse:
526
526
  """
@@ -544,8 +544,8 @@ class AgentsClient:
544
544
  strip_messages : typing.Optional[bool]
545
545
  If set to True, strips all messages from the agent before importing.
546
546
 
547
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
548
- Environment variables to pass to the agent for tool execution.
547
+ env_vars_json : typing.Optional[str]
548
+ Environment variables as a JSON string to pass to the agent for tool execution.
549
549
 
550
550
  request_options : typing.Optional[RequestOptions]
551
551
  Request-specific configuration.
@@ -571,7 +571,7 @@ class AgentsClient:
571
571
  override_existing_tools=override_existing_tools,
572
572
  project_id=project_id,
573
573
  strip_messages=strip_messages,
574
- env_vars=env_vars,
574
+ env_vars_json=env_vars_json,
575
575
  request_options=request_options,
576
576
  )
577
577
  return _response.data
@@ -1503,7 +1503,7 @@ class AsyncAgentsClient:
1503
1503
  override_existing_tools: typing.Optional[bool] = OMIT,
1504
1504
  project_id: typing.Optional[str] = OMIT,
1505
1505
  strip_messages: typing.Optional[bool] = OMIT,
1506
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1506
+ env_vars_json: typing.Optional[str] = OMIT,
1507
1507
  request_options: typing.Optional[RequestOptions] = None,
1508
1508
  ) -> ImportedAgentsResponse:
1509
1509
  """
@@ -1527,8 +1527,8 @@ class AsyncAgentsClient:
1527
1527
  strip_messages : typing.Optional[bool]
1528
1528
  If set to True, strips all messages from the agent before importing.
1529
1529
 
1530
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1531
- Environment variables to pass to the agent for tool execution.
1530
+ env_vars_json : typing.Optional[str]
1531
+ Environment variables as a JSON string to pass to the agent for tool execution.
1532
1532
 
1533
1533
  request_options : typing.Optional[RequestOptions]
1534
1534
  Request-specific configuration.
@@ -1562,7 +1562,7 @@ class AsyncAgentsClient:
1562
1562
  override_existing_tools=override_existing_tools,
1563
1563
  project_id=project_id,
1564
1564
  strip_messages=strip_messages,
1565
- env_vars=env_vars,
1565
+ env_vars_json=env_vars_json,
1566
1566
  request_options=request_options,
1567
1567
  )
1568
1568
  return _response.data
@@ -569,7 +569,7 @@ class RawAgentsClient:
569
569
  override_existing_tools: typing.Optional[bool] = OMIT,
570
570
  project_id: typing.Optional[str] = OMIT,
571
571
  strip_messages: typing.Optional[bool] = OMIT,
572
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
572
+ env_vars_json: typing.Optional[str] = OMIT,
573
573
  request_options: typing.Optional[RequestOptions] = None,
574
574
  ) -> HttpResponse[ImportedAgentsResponse]:
575
575
  """
@@ -593,8 +593,8 @@ class RawAgentsClient:
593
593
  strip_messages : typing.Optional[bool]
594
594
  If set to True, strips all messages from the agent before importing.
595
595
 
596
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
597
- Environment variables to pass to the agent for tool execution.
596
+ env_vars_json : typing.Optional[str]
597
+ Environment variables as a JSON string to pass to the agent for tool execution.
598
598
 
599
599
  request_options : typing.Optional[RequestOptions]
600
600
  Request-specific configuration.
@@ -612,7 +612,7 @@ class RawAgentsClient:
612
612
  "override_existing_tools": override_existing_tools,
613
613
  "project_id": project_id,
614
614
  "strip_messages": strip_messages,
615
- "env_vars": env_vars,
615
+ "env_vars_json": env_vars_json,
616
616
  },
617
617
  files={
618
618
  "file": file,
@@ -1699,7 +1699,7 @@ class AsyncRawAgentsClient:
1699
1699
  override_existing_tools: typing.Optional[bool] = OMIT,
1700
1700
  project_id: typing.Optional[str] = OMIT,
1701
1701
  strip_messages: typing.Optional[bool] = OMIT,
1702
- env_vars: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
1702
+ env_vars_json: typing.Optional[str] = OMIT,
1703
1703
  request_options: typing.Optional[RequestOptions] = None,
1704
1704
  ) -> AsyncHttpResponse[ImportedAgentsResponse]:
1705
1705
  """
@@ -1723,8 +1723,8 @@ class AsyncRawAgentsClient:
1723
1723
  strip_messages : typing.Optional[bool]
1724
1724
  If set to True, strips all messages from the agent before importing.
1725
1725
 
1726
- env_vars : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
1727
- Environment variables to pass to the agent for tool execution.
1726
+ env_vars_json : typing.Optional[str]
1727
+ Environment variables as a JSON string to pass to the agent for tool execution.
1728
1728
 
1729
1729
  request_options : typing.Optional[RequestOptions]
1730
1730
  Request-specific configuration.
@@ -1742,7 +1742,7 @@ class AsyncRawAgentsClient:
1742
1742
  "override_existing_tools": override_existing_tools,
1743
1743
  "project_id": project_id,
1744
1744
  "strip_messages": strip_messages,
1745
- "env_vars": env_vars,
1745
+ "env_vars_json": env_vars_json,
1746
1746
  },
1747
1747
  files={
1748
1748
  "file": file,
@@ -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.280",
27
+ "User-Agent": "letta-client/0.1.282",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "0.1.280",
30
+ "X-Fern-SDK-Version": "0.1.282",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -23,7 +23,7 @@ class BatchJob(UncheckedBaseModel):
23
23
 
24
24
  created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
25
25
  """
26
- The timestamp when the object was created.
26
+ The unix timestamp of when the job was created.
27
27
  """
28
28
 
29
29
  updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
letta_client/types/job.py CHANGED
@@ -34,7 +34,7 @@ class Job(UncheckedBaseModel):
34
34
 
35
35
  created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
36
36
  """
37
- The timestamp when the object was created.
37
+ The unix timestamp of when the job was created.
38
38
  """
39
39
 
40
40
  updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
letta_client/types/run.py CHANGED
@@ -36,7 +36,7 @@ class Run(UncheckedBaseModel):
36
36
 
37
37
  created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
38
38
  """
39
- The timestamp when the object was created.
39
+ The unix timestamp of when the job was created.
40
40
  """
41
41
 
42
42
  updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.280
3
+ Version: 0.1.282
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=yl1d02BPp-nGZLaUdH9mWcYvHu-1RhRyZUgpZQKOM
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
5
5
  letta_client/agents/blocks/raw_client.py,sha256=7tdlieWtGyMe1G5Ne9Rcujvr43DbD4K3hVJ7eiJNuFo,24454
6
- letta_client/agents/client.py,sha256=-iD2qFwuuFQkYqtnpKYqq24mtL7tUj1OhG9cbMa_HYA,73342
6
+ letta_client/agents/client.py,sha256=VUl8uKNhoX2DAXSlW_dVdvoqpvoHglYDtp2sIB-Ajxk,73248
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=y0JXg33ytgCTmI-5CQuMKB2mOn5je55VWtTGRsHk61I,96888
38
+ letta_client/agents/raw_client.py,sha256=LBy0N_w4Oo3ydfB8CNbuVgUBG_iNHv4N7E_2Zd9BEu0,96794
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
@@ -90,7 +90,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
90
90
  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
91
91
  letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
92
92
  letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
93
- letta_client/core/client_wrapper.py,sha256=PdcPdNk_a0Whq-ujrpXBN5bczYI7wF6pSzM72aEzS5Q,2776
93
+ letta_client/core/client_wrapper.py,sha256=1FkPuNC3GVSVFcAVRzrtc8daOwlk3ahtxBoog1BeV-4,2776
94
94
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
95
95
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
96
96
  letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -276,7 +276,7 @@ letta_client/types/auth_scheme_field.py,sha256=OFoPs6Xdvw-Z13mb7lQFf25z0IE6Z83f_
276
276
  letta_client/types/bad_request_error_body.py,sha256=FXRnHlblilUaHvShh1ia8TgLy5Z1HWwfx7-OE-6d3AQ,568
277
277
  letta_client/types/base_64_image.py,sha256=Ta6vR3od9sYQGrWgOSrFq7cS0-mm6cGTa2gWdFpSmo0,965
278
278
  letta_client/types/base_tool_rule_schema.py,sha256=e2pHhj1fdWmuBfkyD_MODwCQnM_MrN6LL2CEx0SqKvY,583
279
- letta_client/types/batch_job.py,sha256=5Pgj28hwt_MbNbZM6htqFtwJRjdydfbnucAfVdt-Sug,2626
279
+ letta_client/types/batch_job.py,sha256=TvfC7eXlkRgWaVp0jBE72uUEYsyNacgB1dSv-KaTfhc,2631
280
280
  letta_client/types/block.py,sha256=V47iVJFFeXhaH263OCM2iVptGftlc7AoZtGIY7qb5Yc,3302
281
281
  letta_client/types/block_schema.py,sha256=-kiDh63tyN2tai9m2f_FJE_afpDMaBTvBjYm4t0zK8c,1813
282
282
  letta_client/types/block_update.py,sha256=f2ClrX0b5iPfoxmRZ5IVGK039VRDYqe0UXYGjLy3Eow,1898
@@ -399,7 +399,7 @@ letta_client/types/imported_agents_response.py,sha256=PDBKbNcUNpRumkUgQTE4-pfPc9
399
399
  letta_client/types/init_tool_rule.py,sha256=ybXzH1cWQesY2Z4Umf3lnGep8TmulRW6OCtrV7cx8hw,1044
400
400
  letta_client/types/input_audio.py,sha256=l4T076iM05SxiqBx5TEkE4baG99rk1olL6hmVictuJQ,634
401
401
  letta_client/types/input_audio_format.py,sha256=QQFfndI9w66wIbGyHwfmJnk2bEJDPmEs9GybkaNL6AI,154
402
- letta_client/types/job.py,sha256=b0eEVqG-wNxJJR_DIfsgdMh2FkZUKH_H19SIWVYdk30,3188
402
+ letta_client/types/job.py,sha256=dQLV9NM5mTYnS5iER8f-MvNAcC2CD7NXBBwQvbJN77c,3193
403
403
  letta_client/types/job_status.py,sha256=hfkoSxAxkPegq1FSzzCTWQCBzoJwlvyrYnxtC0LzfUs,219
404
404
  letta_client/types/job_type.py,sha256=HXYrfzPwxI54PqV7OVcMhewSJ_pBNHc14s9LcExr7Ss,154
405
405
  letta_client/types/json_object_response_format.py,sha256=POxWWP3fHht3VcaQfpoMJ1HcyjItiv05zbfgILUbMww,676
@@ -488,7 +488,7 @@ letta_client/types/response_format_json_schema.py,sha256=Yxz8QL1_s7vIAuzap82IPfy
488
488
  letta_client/types/response_format_text.py,sha256=q9U4VDi57FPpqCVVPk-_21e0fbIohBPLDqWR-tAV2ls,592
489
489
  letta_client/types/round_robin_manager.py,sha256=cGnv5WFZowjguzNLX9Nv3DDfdgzDolN3onSkLLjAl6Y,701
490
490
  letta_client/types/round_robin_manager_update.py,sha256=0auliO4ChHHCexaiEfXKmERz_4IWz5YvjRsQHbUqVCI,707
491
- letta_client/types/run.py,sha256=cF_Hf_J4x8MD4lXqttv5BNPqo-sYePyfLPuRQTwwngg,3372
491
+ letta_client/types/run.py,sha256=5RYyjuGj591MNPhe1Bfa2BP9tZSNi54i82dqVmTLkNI,3377
492
492
  letta_client/types/sandbox_config.py,sha256=YWQpDOHkiqEtp-xa4jjQA3QyGq4ZXNU8UDardnAvxhw,1551
493
493
  letta_client/types/sandbox_config_create.py,sha256=fGMGiKbuf5ii1o-tHRHAjnAu0FB4JktMjlvu6uBRAsY,731
494
494
  letta_client/types/sandbox_config_create_config.py,sha256=0jPsYtxeoRXMLppFjWZCCjyobuBvlkf-GhAOdH8bmt4,337
@@ -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.280.dist-info/METADATA,sha256=2R6rN3zN3X_raSmpf_8d_Sayv12L-DCYdOmXB-UPNhw,5782
570
- letta_client-0.1.280.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
- letta_client-0.1.280.dist-info/RECORD,,
569
+ letta_client-0.1.282.dist-info/METADATA,sha256=J7cB1o6_fHGhv3vFMx3m6ClIEUCfVxrtBUrC_SbKpqI,5782
570
+ letta_client-0.1.282.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
+ letta_client-0.1.282.dist-info/RECORD,,