letta-client 0.1.33__py3-none-any.whl → 0.1.35__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,7 +166,6 @@ class AgentsClient:
166
166
  def create(
167
167
  self,
168
168
  *,
169
- project_slug: typing.Optional[str] = None,
170
169
  name: typing.Optional[str] = OMIT,
171
170
  memory_blocks: typing.Optional[typing.Sequence[CreateBlock]] = OMIT,
172
171
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -204,8 +203,6 @@ class AgentsClient:
204
203
 
205
204
  Parameters
206
205
  ----------
207
- project_slug : typing.Optional[str]
208
-
209
206
  name : typing.Optional[str]
210
207
  The name of the agent.
211
208
 
@@ -276,7 +273,7 @@ class AgentsClient:
276
273
  Whether the agent is a template
277
274
 
278
275
  project : typing.Optional[str]
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.
276
+ The project slug that the agent will be associated with.
280
277
 
281
278
  tool_exec_environment_variables : typing.Optional[typing.Dict[str, typing.Optional[str]]]
282
279
  The environment variables for tool execution specific to this agent.
@@ -360,7 +357,6 @@ class AgentsClient:
360
357
  },
361
358
  headers={
362
359
  "content-type": "application/json",
363
- "project-slug": str(project_slug) if project_slug is not None else None,
364
360
  },
365
361
  request_options=request_options,
366
362
  omit=OMIT,
@@ -938,7 +934,6 @@ class AsyncAgentsClient:
938
934
  async def create(
939
935
  self,
940
936
  *,
941
- project_slug: typing.Optional[str] = None,
942
937
  name: typing.Optional[str] = OMIT,
943
938
  memory_blocks: typing.Optional[typing.Sequence[CreateBlock]] = OMIT,
944
939
  tools: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -976,8 +971,6 @@ class AsyncAgentsClient:
976
971
 
977
972
  Parameters
978
973
  ----------
979
- project_slug : typing.Optional[str]
980
-
981
974
  name : typing.Optional[str]
982
975
  The name of the agent.
983
976
 
@@ -1048,7 +1041,7 @@ class AsyncAgentsClient:
1048
1041
  Whether the agent is a template
1049
1042
 
1050
1043
  project : typing.Optional[str]
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.
1044
+ The project slug that the agent will be associated with.
1052
1045
 
1053
1046
  tool_exec_environment_variables : typing.Optional[typing.Dict[str, typing.Optional[str]]]
1054
1047
  The environment variables for tool execution specific to this agent.
@@ -1140,7 +1133,6 @@ class AsyncAgentsClient:
1140
1133
  },
1141
1134
  headers={
1142
1135
  "content-type": "application/json",
1143
- "project-slug": str(project_slug) if project_slug is not None else None,
1144
1136
  },
1145
1137
  request_options=request_options,
1146
1138
  omit=OMIT,
@@ -16,6 +16,7 @@ AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = typing.Union[
16
16
  "webui-legacy",
17
17
  "lmstudio",
18
18
  "lmstudio-legacy",
19
+ "lmstudio-chatcompletions",
19
20
  "llamacpp",
20
21
  "koboldcpp",
21
22
  "vllm",
@@ -23,6 +24,7 @@ AgentsSearchResponseAgentsItemLlmConfigModelEndpointType = typing.Union[
23
24
  "mistral",
24
25
  "together",
25
26
  "bedrock",
27
+ "deepseek",
26
28
  ],
27
29
  typing.Any,
28
30
  ]
@@ -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.33",
19
+ "X-Fern-SDK-Version": "0.1.35",
20
20
  }
21
21
  if self.token is not None:
22
22
  headers["Authorization"] = f"Bearer {self.token}"
@@ -16,6 +16,7 @@ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType =
16
16
  "webui-legacy",
17
17
  "lmstudio",
18
18
  "lmstudio-legacy",
19
+ "lmstudio-chatcompletions",
19
20
  "llamacpp",
20
21
  "koboldcpp",
21
22
  "vllm",
@@ -23,6 +24,7 @@ TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigModelEndpointType =
23
24
  "mistral",
24
25
  "together",
25
26
  "bedrock",
27
+ "deepseek",
26
28
  ],
27
29
  typing.Any,
28
30
  ]
@@ -15,7 +15,6 @@ class ActionParametersModel(UncheckedBaseModel):
15
15
  title: str
16
16
  type: str
17
17
  required: typing.Optional[typing.List[str]] = None
18
- examples: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None
19
18
 
20
19
  if IS_PYDANTIC_V2:
21
20
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -15,7 +15,6 @@ class ActionResponseModel(UncheckedBaseModel):
15
15
  title: str
16
16
  type: str
17
17
  required: typing.Optional[typing.List[str]] = None
18
- examples: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None
19
18
 
20
19
  if IS_PYDANTIC_V2:
21
20
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -3,5 +3,5 @@
3
3
  import typing
4
4
 
5
5
  AppAuthSchemeAuthMode = typing.Union[
6
- typing.Literal["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT", "NO_AUTH"], typing.Any
6
+ typing.Literal["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BEARER_TOKEN", "BASIC_WITH_JWT"], typing.Any
7
7
  ]
@@ -16,6 +16,7 @@ LlmConfigModelEndpointType = typing.Union[
16
16
  "webui-legacy",
17
17
  "lmstudio",
18
18
  "lmstudio-legacy",
19
+ "lmstudio-chatcompletions",
19
20
  "llamacpp",
20
21
  "koboldcpp",
21
22
  "vllm",
@@ -23,6 +24,7 @@ LlmConfigModelEndpointType = typing.Union[
23
24
  "mistral",
24
25
  "together",
25
26
  "bedrock",
27
+ "deepseek",
26
28
  ],
27
29
  typing.Any,
28
30
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.33
3
+ Version: 0.1.35
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=P7rFaq2eOyg436PqE7pWb1Vfhmw2tqBzh55LbftuLTw,61143
5
+ letta_client/agents/client.py,sha256=hIErW0o-b4CzddQ6lV2BDhA09JdhPA0-99LdbqeW2Kw,60539
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
@@ -65,7 +65,7 @@ letta_client/agents/types/agents_search_response_agents_item_llm_config_max_toke
65
65
  letta_client/agents/types/agents_search_response_agents_item_llm_config_max_tokens_item.py,sha256=mfB0NNoNIQJPbAv1VLjSKKc2F4UaeOuNkUMzkqay7xY,177
66
66
  letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint.py,sha256=ejEayxna8G74hNJxeVXNRfDnDaQsl81Fi_KoqNsfeCk,456
67
67
  letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_item.py,sha256=PpPUtiCe4Src1Z4Re09yueN8PFGJIVpZxTHvD8ucoGA,179
68
- letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_type.py,sha256=eWgbc3GfGPUX5P212LdiJlhTkbOlU8jCjJH65Boo0pQ,579
68
+ letta_client/agents/types/agents_search_response_agents_item_llm_config_model_endpoint_type.py,sha256=nJMp_B7bs3kr0EnCQeAa7vnnR4CHbUBS1Uq5zO_FODI,635
69
69
  letta_client/agents/types/agents_search_response_agents_item_llm_config_model_wrapper.py,sha256=qMb-549i4kpUJ6B7W73YvLxb3QgpCNUZUt043DpjNYQ,452
70
70
  letta_client/agents/types/agents_search_response_agents_item_llm_config_model_wrapper_item.py,sha256=2NMKvsEotVFqWMfqUntqi1iRxYL6uuUt6RFW048K5VE,178
71
71
  letta_client/agents/types/agents_search_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py,sha256=eh2lHG9jm971nE6YcHjhv_R97XK9Vo-OL3LePCr22lY,504
@@ -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=6PmrBJAB_kEqn2gWzc8V27JE6Vhr_nLx2cK_JZhJGOQ,1997
203
+ letta_client/core/client_wrapper.py,sha256=mrsrkgTviyx515tcwSL1SrZwvgcyjBM7w9P2WvC3S8M,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
@@ -275,7 +275,7 @@ letta_client/templates/types/templates_create_agents_from_template_response_agen
275
275
  letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_max_tokens_item.py,sha256=uKd_4cFOu8az2dAq1iV3A2-NF5IolDdzBuD9dQhKtQ4,198
276
276
  letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint.py,sha256=umB1zf1Kusaus7Yem_G8Q_rrczXZGMQUc6b1DYpuHkk,543
277
277
  letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_item.py,sha256=Mawjtn_pEgBRzvTYIBYtOA6r4l15-r2xUEWUNxZwh-M,200
278
- letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_type.py,sha256=Dkyctv_HpIEkOarAy2hOCV0yDphQ-LoQLPmb4ilCF4I,600
278
+ letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_endpoint_type.py,sha256=xd-F7J_rcPHBbb7lXQz_K3C5uGyWVCiamuDv6f4o-PM,656
279
279
  letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper.py,sha256=55T0TI5h0L1-MdVggoiGqR-jTkeWEvln-81y8SS91Gg,539
280
280
  letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_model_wrapper_item.py,sha256=aZ8G3AMdRpsVNLMA8fsdciID_47CHjU0UJkiYgJOYKA,199
281
281
  letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_put_inner_thoughts_in_kwargs.py,sha256=xQY3r3sbfwI71E1CICO-if1mjS3gcnCby0It4ow9ZzU,605
@@ -406,14 +406,14 @@ letta_client/tools/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_p
406
406
  letta_client/tools/client.py,sha256=nv4PKwwlBsyGYm9B_3okgaiNFbbMYfZ53bzeoaAhVfU,53219
407
407
  letta_client/types/__init__.py,sha256=lIEkIkJF2CxdYemPIZ1zOQrX-pHHreQWEr4OcMZOOUM,14904
408
408
  letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
409
- letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
410
- letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
409
+ letta_client/types/action_parameters_model.py,sha256=zKzJkjtu1pt4BEA2GHlg9rMWja5a0uZygOpOx3FbgIM,749
410
+ letta_client/types/action_response_model.py,sha256=5OuImT0EQFkAnc81F6tZsVEwYG8rKbIrx_ydGiKqwog,745
411
411
  letta_client/types/agent_environment_variable.py,sha256=vutZLcR0yETltgOZ7E_o9kR4vOdBxybVL9lzXSux75w,1698
412
412
  letta_client/types/agent_state.py,sha256=KcNV8abv5azSBeOnZPIBE-XXUx9jYaGkVTzIHfN3r4I,4869
413
413
  letta_client/types/agent_state_tool_rules_item.py,sha256=-1gMhEZOThSYXXTWxZXtSNpkANOTws0bZcEXf-PQCJA,375
414
414
  letta_client/types/agent_type.py,sha256=iZ3Wa4BUddDeFSgcK3Z0WUKCQYDRCEo0aJICKsc3HL0,220
415
415
  letta_client/types/app_auth_scheme.py,sha256=_6FLlw3drQ3HDSP9SecStBwQyE0DgL6UvKFArCC4yp8,1242
416
- letta_client/types/app_auth_scheme_auth_mode.py,sha256=4zgUPTye_olDGcfbwpyCAbwU-11WPGaAxO_PeA-0I0c,236
416
+ letta_client/types/app_auth_scheme_auth_mode.py,sha256=Zafrac9piNVjCVppCv0CS34Yx4rFaFPieeNCrtaPSwk,225
417
417
  letta_client/types/app_model.py,sha256=cypZdZ12NW9pbG23XW9qTtGnZNwNlJxoxBERaFcLmso,1519
418
418
  letta_client/types/assistant_message.py,sha256=OWJz-tAsuiA1bZguDbvIBJezzjYiQWt8kWCxwxK-zN4,779
419
419
  letta_client/types/assistant_message_content.py,sha256=2XtIgU1tzCHgp-NwWIkUFohOd1GClieiRk9OATTEcew,188
@@ -504,7 +504,7 @@ letta_client/types/letta_request_config.py,sha256=b6K4QtDdHjcZKfBb1fugUuoPrT2N4d
504
504
  letta_client/types/letta_response.py,sha256=i5gAUTgWzIst_RP8I_zSh0GSnLIS3z--1BmK6EF1mkQ,1315
505
505
  letta_client/types/letta_usage_statistics.py,sha256=0BHM3ArfwH6WVJNHYja7LI2k3BZ3jt0o_COfgA4muWo,1537
506
506
  letta_client/types/llm_config.py,sha256=B-LJpzPB5RNSPG-cag65yTIWc0mbD7iKg77N6ejPL64,3045
507
- letta_client/types/llm_config_model_endpoint_type.py,sha256=NhqeEbjjZNr_0sKnxS0xu8F4rsa6J-9RGKu7AByJhk0,549
507
+ letta_client/types/llm_config_model_endpoint_type.py,sha256=TIUj6eq1yDdG5uhFNCiY7xxBHAwdPjaYa_A5BBpAbPQ,605
508
508
  letta_client/types/local_sandbox_config.py,sha256=jfe7akG_YrJJ8csLaLdev04Zg1x-PTN0XCAL4KifaZI,1387
509
509
  letta_client/types/memory.py,sha256=KD5MkDQB-vbRPT9f_-yFBWY1WUW_NWxYEI0IiflG6P8,1035
510
510
  letta_client/types/message.py,sha256=Mg6oT5sP5NVqBXSz9lpWkRW-6Sq_YiOLX-fT3KrwoaY,3137
@@ -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.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,,
564
+ letta_client-0.1.35.dist-info/METADATA,sha256=Aq_meffwVe1wUMxQS5he_5adef2bRGvRCG-5KeDgDWg,4942
565
+ letta_client-0.1.35.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
566
+ letta_client-0.1.35.dist-info/RECORD,,