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

@@ -166,6 +166,7 @@ class AgentsClient:
166
166
  def create(
167
167
  self,
168
168
  *,
169
+ project_slug: typing.Optional[str] = None,
169
170
  name: typing.Optional[str] = OMIT,
170
171
  memory_blocks: typing.Optional[typing.Sequence[CreateBlock]] = OMIT,
171
172
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -203,6 +204,8 @@ class AgentsClient:
203
204
 
204
205
  Parameters
205
206
  ----------
207
+ project_slug : typing.Optional[str]
208
+
206
209
  name : typing.Optional[str]
207
210
  The name of the agent.
208
211
 
@@ -273,7 +276,7 @@ class AgentsClient:
273
276
  Whether the agent is a template
274
277
 
275
278
  project : typing.Optional[str]
276
- The project slug that the agent will be associated with.
279
+ Deprecated: Project should now be passed via the project-slug header instead of in the request body. If using the sdk, this can be done via the new project_slug field below.
277
280
 
278
281
  tool_exec_environment_variables : typing.Optional[typing.Dict[str, typing.Optional[str]]]
279
282
  The environment variables for tool execution specific to this agent.
@@ -357,6 +360,7 @@ class AgentsClient:
357
360
  },
358
361
  headers={
359
362
  "content-type": "application/json",
363
+ "project-slug": str(project_slug) if project_slug is not None else None,
360
364
  },
361
365
  request_options=request_options,
362
366
  omit=OMIT,
@@ -934,6 +938,7 @@ class AsyncAgentsClient:
934
938
  async def create(
935
939
  self,
936
940
  *,
941
+ project_slug: typing.Optional[str] = None,
937
942
  name: typing.Optional[str] = OMIT,
938
943
  memory_blocks: typing.Optional[typing.Sequence[CreateBlock]] = OMIT,
939
944
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -971,6 +976,8 @@ class AsyncAgentsClient:
971
976
 
972
977
  Parameters
973
978
  ----------
979
+ project_slug : typing.Optional[str]
980
+
974
981
  name : typing.Optional[str]
975
982
  The name of the agent.
976
983
 
@@ -1041,7 +1048,7 @@ class AsyncAgentsClient:
1041
1048
  Whether the agent is a template
1042
1049
 
1043
1050
  project : typing.Optional[str]
1044
- The project slug that the agent will be associated with.
1051
+ Deprecated: Project should now be passed via the project-slug header instead of in the request body. If using the sdk, this can be done via the new project_slug field below.
1045
1052
 
1046
1053
  tool_exec_environment_variables : typing.Optional[typing.Dict[str, typing.Optional[str]]]
1047
1054
  The environment variables for tool execution specific to this agent.
@@ -1133,6 +1140,7 @@ class AsyncAgentsClient:
1133
1140
  },
1134
1141
  headers={
1135
1142
  "content-type": "application/json",
1143
+ "project-slug": str(project_slug) if project_slug is not None else None,
1136
1144
  },
1137
1145
  request_options=request_options,
1138
1146
  omit=OMIT,
@@ -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.32",
19
+ "X-Fern-SDK-Version": "0.1.33",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.32
3
+ Version: 0.1.33
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=alPU1DyMZf5sWtK_9l7pe7kiI_N1AZkk5o1pGgKceco,5806
2
2
  letta_client/agents/__init__.py,sha256=TFZZra4XZbVPCQCiZkw4oUZWKuEbv2GhcuuBpJ-TDQ8,21536
3
3
  letta_client/agents/archival_memory/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  letta_client/agents/archival_memory/client.py,sha256=VTlL-cGmYBYdVI5owY8Gbbj4dscUCtSzL34Gm_5Nvk4,14872
5
- letta_client/agents/client.py,sha256=hIErW0o-b4CzddQ6lV2BDhA09JdhPA0-99LdbqeW2Kw,60539
5
+ letta_client/agents/client.py,sha256=P7rFaq2eOyg436PqE7pWb1Vfhmw2tqBzh55LbftuLTw,61143
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
@@ -200,7 +200,7 @@ letta_client/blocks/client.py,sha256=AeQQ-IdYhV-zqLTt3PTrJOtJ6XtBZcXNC108Y5EogVU
200
200
  letta_client/client.py,sha256=y2cXN0ApFul2Lz-fVh5TbeYbQ8oUjnXcwJ6wUczEf2c,2457
201
201
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
202
202
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
203
- letta_client/core/client_wrapper.py,sha256=GXgTomv3OnqNOqldyopK8bFVCb9eUB7R87_9Mj_g8ww,1997
203
+ letta_client/core/client_wrapper.py,sha256=6PmrBJAB_kEqn2gWzc8V27JE6Vhr_nLx2cK_JZhJGOQ,1997
204
204
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
205
205
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
206
206
  letta_client/core/http_client.py,sha256=siUQ6UV0ARZALlxubqWSSAAPC9B4VW8y6MGlHStfaeo,19552
@@ -561,6 +561,6 @@ letta_client/types/user_update.py,sha256=0Bl1OjO7bfmlpsGQ36dSh6DH1UB_wJOTNewS0wD
561
561
  letta_client/types/validation_error.py,sha256=ACDS7wL5nQbS8ymFhWljwbBJmbugNa8bs2O5xEZC3u4,680
562
562
  letta_client/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
563
563
  letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
564
- letta_client-0.1.32.dist-info/METADATA,sha256=u45UceFt5vwBP_fwuVNlLDVKO01Qa3N8v-B7PHLBZPE,4942
565
- letta_client-0.1.32.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
566
- letta_client-0.1.32.dist-info/RECORD,,
564
+ letta_client-0.1.33.dist-info/METADATA,sha256=Omm2bAph6Ui1-gewg04Ser8UskBlXMXlAaAPKD1oaLo,4942
565
+ letta_client-0.1.33.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
566
+ letta_client-0.1.33.dist-info/RECORD,,