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

@@ -479,6 +479,7 @@ class AgentsClient:
479
479
  file: core.File,
480
480
  append_copy_suffix: typing.Optional[bool] = None,
481
481
  override_existing_tools: typing.Optional[bool] = None,
482
+ project_id: typing.Optional[str] = None,
482
483
  request_options: typing.Optional[RequestOptions] = None,
483
484
  ) -> AgentState:
484
485
  """
@@ -495,6 +496,9 @@ class AgentsClient:
495
496
  override_existing_tools : typing.Optional[bool]
496
497
  If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
497
498
 
499
+ project_id : typing.Optional[str]
500
+ The project ID to associate the uploaded agent with.
501
+
498
502
  request_options : typing.Optional[RequestOptions]
499
503
  Request-specific configuration.
500
504
 
@@ -518,6 +522,7 @@ class AgentsClient:
518
522
  params={
519
523
  "append_copy_suffix": append_copy_suffix,
520
524
  "override_existing_tools": override_existing_tools,
525
+ "project_id": project_id,
521
526
  },
522
527
  data={},
523
528
  files={
@@ -1567,6 +1572,7 @@ class AsyncAgentsClient:
1567
1572
  file: core.File,
1568
1573
  append_copy_suffix: typing.Optional[bool] = None,
1569
1574
  override_existing_tools: typing.Optional[bool] = None,
1575
+ project_id: typing.Optional[str] = None,
1570
1576
  request_options: typing.Optional[RequestOptions] = None,
1571
1577
  ) -> AgentState:
1572
1578
  """
@@ -1583,6 +1589,9 @@ class AsyncAgentsClient:
1583
1589
  override_existing_tools : typing.Optional[bool]
1584
1590
  If set to True, existing tools can get their source code overwritten by the uploaded tool definitions. Note that Letta core tools can never be updated externally.
1585
1591
 
1592
+ project_id : typing.Optional[str]
1593
+ The project ID to associate the uploaded agent with.
1594
+
1586
1595
  request_options : typing.Optional[RequestOptions]
1587
1596
  Request-specific configuration.
1588
1597
 
@@ -1614,6 +1623,7 @@ class AsyncAgentsClient:
1614
1623
  params={
1615
1624
  "append_copy_suffix": append_copy_suffix,
1616
1625
  "override_existing_tools": override_existing_tools,
1626
+ "project_id": project_id,
1617
1627
  },
1618
1628
  data={},
1619
1629
  files={
@@ -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.58",
19
+ "X-Fern-SDK-Version": "0.1.60",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -27,6 +27,7 @@ class StepsClient:
27
27
  start_date: typing.Optional[str] = None,
28
28
  end_date: typing.Optional[str] = None,
29
29
  model: typing.Optional[str] = None,
30
+ agent_id: typing.Optional[str] = None,
30
31
  request_options: typing.Optional[RequestOptions] = None,
31
32
  ) -> typing.List[Step]:
32
33
  """
@@ -56,6 +57,9 @@ class StepsClient:
56
57
  model : typing.Optional[str]
57
58
  Filter by the name of the model used for the step
58
59
 
60
+ agent_id : typing.Optional[str]
61
+ Filter by the ID of the agent that performed the step
62
+
59
63
  request_options : typing.Optional[RequestOptions]
60
64
  Request-specific configuration.
61
65
 
@@ -84,6 +88,7 @@ class StepsClient:
84
88
  "start_date": start_date,
85
89
  "end_date": end_date,
86
90
  "model": model,
91
+ "agent_id": agent_id,
87
92
  },
88
93
  request_options=request_options,
89
94
  )
@@ -182,6 +187,7 @@ class AsyncStepsClient:
182
187
  start_date: typing.Optional[str] = None,
183
188
  end_date: typing.Optional[str] = None,
184
189
  model: typing.Optional[str] = None,
190
+ agent_id: typing.Optional[str] = None,
185
191
  request_options: typing.Optional[RequestOptions] = None,
186
192
  ) -> typing.List[Step]:
187
193
  """
@@ -211,6 +217,9 @@ class AsyncStepsClient:
211
217
  model : typing.Optional[str]
212
218
  Filter by the name of the model used for the step
213
219
 
220
+ agent_id : typing.Optional[str]
221
+ Filter by the ID of the agent that performed the step
222
+
214
223
  request_options : typing.Optional[RequestOptions]
215
224
  Request-specific configuration.
216
225
 
@@ -247,6 +256,7 @@ class AsyncStepsClient:
247
256
  "start_date": start_date,
248
257
  "end_date": end_date,
249
258
  "model": model,
259
+ "agent_id": agent_id,
250
260
  },
251
261
  request_options=request_options,
252
262
  )
@@ -27,6 +27,7 @@ class TemplatesClient:
27
27
  agent_name: typing.Optional[str] = OMIT,
28
28
  memory_variables: typing.Optional[typing.Dict[str, str]] = OMIT,
29
29
  tool_variables: typing.Optional[typing.Dict[str, str]] = OMIT,
30
+ identity_ids: typing.Optional[typing.Sequence[str]] = OMIT,
30
31
  request_options: typing.Optional[RequestOptions] = None,
31
32
  ) -> TemplatesCreateAgentsResponse:
32
33
  """
@@ -52,6 +53,9 @@ class TemplatesClient:
52
53
  tool_variables : typing.Optional[typing.Dict[str, str]]
53
54
  The tool variables to assign to the agent
54
55
 
56
+ identity_ids : typing.Optional[typing.Sequence[str]]
57
+ The identity ids to assign to the agent
58
+
55
59
  request_options : typing.Optional[RequestOptions]
56
60
  Request-specific configuration.
57
61
 
@@ -80,6 +84,7 @@ class TemplatesClient:
80
84
  "agent_name": agent_name,
81
85
  "memory_variables": memory_variables,
82
86
  "tool_variables": tool_variables,
87
+ "identity_ids": identity_ids,
83
88
  },
84
89
  headers={
85
90
  "content-type": "application/json",
@@ -115,6 +120,7 @@ class AsyncTemplatesClient:
115
120
  agent_name: typing.Optional[str] = OMIT,
116
121
  memory_variables: typing.Optional[typing.Dict[str, str]] = OMIT,
117
122
  tool_variables: typing.Optional[typing.Dict[str, str]] = OMIT,
123
+ identity_ids: typing.Optional[typing.Sequence[str]] = OMIT,
118
124
  request_options: typing.Optional[RequestOptions] = None,
119
125
  ) -> TemplatesCreateAgentsResponse:
120
126
  """
@@ -140,6 +146,9 @@ class AsyncTemplatesClient:
140
146
  tool_variables : typing.Optional[typing.Dict[str, str]]
141
147
  The tool variables to assign to the agent
142
148
 
149
+ identity_ids : typing.Optional[typing.Sequence[str]]
150
+ The identity ids to assign to the agent
151
+
143
152
  request_options : typing.Optional[RequestOptions]
144
153
  Request-specific configuration.
145
154
 
@@ -176,6 +185,7 @@ class AsyncTemplatesClient:
176
185
  "agent_name": agent_name,
177
186
  "memory_variables": memory_variables,
178
187
  "tool_variables": tool_variables,
188
+ "identity_ids": identity_ids,
179
189
  },
180
190
  headers={
181
191
  "content-type": "application/json",
@@ -28,6 +28,11 @@ class Step(UncheckedBaseModel):
28
28
  The unique identifier of the job that this step belongs to. Only included for async calls.
29
29
  """
30
30
 
31
+ agent_id: typing.Optional[str] = pydantic.Field(default=None)
32
+ """
33
+ The ID of the agent that performed the step.
34
+ """
35
+
31
36
  provider_name: typing.Optional[str] = pydantic.Field(default=None)
32
37
  """
33
38
  The name of the provider used for this step.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.58
3
+ Version: 0.1.60
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=2cOFHMqO22-puFRZq7_HpLGRsNdILRTIAhxbtr-BpqU,5688
2
2
  letta_client/agents/__init__.py,sha256=ePMwPIgzTgDIbCr1wR1Zch36fvKau2B1mOFmjt47CsE,22440
3
3
  letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  letta_client/agents/blocks/client.py,sha256=u5zvutxoH_DqfSLWhRtNSRBC9_ezQDx682cxkxDz3JA,23822
5
- letta_client/agents/client.py,sha256=1z1dQuyRENb23yV-IqAlQRZ3zlUIXTW-dlPZwrWcUKs,83441
5
+ letta_client/agents/client.py,sha256=l4gSRAlc7U8eadadb5SJXA4Iy_XTT_Sf4dGsLmCp0ss,83839
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
@@ -210,7 +210,7 @@ letta_client/blocks/client.py,sha256=AeQQ-IdYhV-zqLTt3PTrJOtJ6XtBZcXNC108Y5EogVU
210
210
  letta_client/client.py,sha256=xdSrD4IkWokZHujowd1r7zESBoVgKGNvo6RqgZ3f0Fg,12808
211
211
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
212
212
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
213
- letta_client/core/client_wrapper.py,sha256=c8IFslbOlaJR5hAVcUaCemlWR51hxyNv0SzLE9iml_w,1997
213
+ letta_client/core/client_wrapper.py,sha256=10KV9Su41lR--W7MnFWuWra2qmD3mAjUwu3W11OMUBI,1997
214
214
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
215
215
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
216
216
  letta_client/core/http_client.py,sha256=siUQ6UV0ARZALlxubqWSSAAPC9B4VW8y6MGlHStfaeo,19552
@@ -247,11 +247,11 @@ letta_client/sources/files/client.py,sha256=R-9zHK_wWtvW-2K7erQVVh9rR7a5JC4zxmTK
247
247
  letta_client/sources/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
248
248
  letta_client/sources/passages/client.py,sha256=n0QVtLC0W1X6_SjhiEGSl9oZexocnsLZYeYRAqV2BCk,4767
249
249
  letta_client/steps/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
250
- letta_client/steps/client.py,sha256=nHd4ZxYeaVgYf9ZewBCLc58DZ38LoW97W-xbc2oOL_0,10900
250
+ letta_client/steps/client.py,sha256=g4XUUtdKzkSiRkxJW6ACrYe8ySvJ_tUMGK4ag6QRZT4,11284
251
251
  letta_client/tag/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
252
252
  letta_client/tag/client.py,sha256=TBAotdb0e2_x2pANF4dOE1qmWY3GIgb7nOhvN7iZ3_4,5183
253
253
  letta_client/templates/__init__.py,sha256=67hjKjA8ZYiqjIAHObdIQLVgtbMX7kb6RNaxOUkeQBw,24253
254
- letta_client/templates/client.py,sha256=CpU_STVhjt1Rto-COOBdX8Pw2GmgU7E1KgOnj92YLIg,6732
254
+ letta_client/templates/client.py,sha256=k1eya9jpfKw8CwKP8U7qIhKVmpk1IBqPG-oeK8C6fOM,7188
255
255
  letta_client/templates/types/__init__.py,sha256=LGDzJg0Gv_Ewfq8plfFOvaD6K2cRLi21mii9xcS01NE,39681
256
256
  letta_client/templates/types/templates_create_agents_response.py,sha256=UNMZSUckqoug1sq-gqC7luO392eItxxy0NNdUL0CRfQ,725
257
257
  letta_client/templates/types/templates_create_agents_response_agents_item.py,sha256=xaEfez_Y4tIlVnCUXrtY9VgQ2XjodS0ua-9trsO9IJQ,5203
@@ -562,7 +562,7 @@ letta_client/types/sandbox_environment_variable_create.py,sha256=AhGE8ITStXkPOfP
562
562
  letta_client/types/sandbox_environment_variable_update.py,sha256=JMkX6nzvcBNEemjvBmyHDezci3Bn7epKhMnvFY_--EA,948
563
563
  letta_client/types/sandbox_type.py,sha256=XSWmX3JIFFrDPQ4i89E8LauXY8kjmJEtaz6e_JheGm4,151
564
564
  letta_client/types/source.py,sha256=7tLptZ4AZrvRPF6NqToM4Vf9i7TosS2_Ydks4zfvZx4,2239
565
- letta_client/types/step.py,sha256=zEhNkgsX_WiVl6firIEZRnRsN-9aPPf2mx3245Z2iWQ,2856
565
+ letta_client/types/step.py,sha256=XE98vMiU34dgUxLPvmJLdp9iWFPjg6E2Pb8xNSURMMg,2988
566
566
  letta_client/types/system_message.py,sha256=DUIgPbL_ya49sGN15DIEGO2t8OQ4pseHvbMcayygV0c,1155
567
567
  letta_client/types/system_message_content.py,sha256=9VvwCUKMkNidcMUaPmuj6-WhzeJoEZCNvyn3oH-LR70,185
568
568
  letta_client/types/terminal_tool_rule.py,sha256=82a7AnohOqCFBSOt7OwsKeh7gHgq8KTlgojxlm3t76E,863
@@ -599,6 +599,6 @@ letta_client/voice/__init__.py,sha256=ZrZEuXIukVGhsfM-i0dIFfqjeSOBMPeEgDva7Vvnip
599
599
  letta_client/voice/client.py,sha256=j3feSlNzeTVFXE7RUKEHGeMl_w0TJFBRUI3pXpLpUEI,6148
600
600
  letta_client/voice/types/__init__.py,sha256=hBLJcrom99DkDxxsVRU2ni8kPx6SsCy8gtAJvNOz26w,199
601
601
  letta_client/voice/types/create_voice_chat_completions_request.py,sha256=K4__83rXRCshfdobyAmH-5fUDJQ_PeSQetTUeC4Abk0,381
602
- letta_client-0.1.58.dist-info/METADATA,sha256=OJ3HHKzpB7y379cJJifraRkKyltx4SVHdV6q5uPf_Zc,4942
603
- letta_client-0.1.58.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
604
- letta_client-0.1.58.dist-info/RECORD,,
602
+ letta_client-0.1.60.dist-info/METADATA,sha256=NIp1pzrdvA6orQsPZp1AfQdTzSgfQvwI6D4ck0M7yAk,4942
603
+ letta_client-0.1.60.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
604
+ letta_client-0.1.60.dist-info/RECORD,,