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

letta_client/__init__.py CHANGED
@@ -103,6 +103,8 @@ from .types import (
103
103
  FunctionDefinitionOutput,
104
104
  FunctionOutput,
105
105
  FunctionTool,
106
+ GenerateToolInput,
107
+ GenerateToolOutput,
106
108
  Group,
107
109
  Health,
108
110
  HiddenReasoningMessage,
@@ -468,6 +470,8 @@ __all__ = [
468
470
  "FunctionDefinitionOutput",
469
471
  "FunctionOutput",
470
472
  "FunctionTool",
473
+ "GenerateToolInput",
474
+ "GenerateToolOutput",
471
475
  "Group",
472
476
  "GroupCreateManagerConfig",
473
477
  "GroupUpdateManagerConfig",
@@ -24,7 +24,7 @@ class BaseClientWrapper:
24
24
  headers: typing.Dict[str, str] = {
25
25
  "X-Fern-Language": "Python",
26
26
  "X-Fern-SDK-Name": "letta-client",
27
- "X-Fern-SDK-Version": "0.1.214",
27
+ "X-Fern-SDK-Version": "0.1.216",
28
28
  }
29
29
  if self._project is not None:
30
30
  headers["X-Project"] = self._project
@@ -102,6 +102,8 @@ from .function_definition_input import FunctionDefinitionInput
102
102
  from .function_definition_output import FunctionDefinitionOutput
103
103
  from .function_output import FunctionOutput
104
104
  from .function_tool import FunctionTool
105
+ from .generate_tool_input import GenerateToolInput
106
+ from .generate_tool_output import GenerateToolOutput
105
107
  from .group import Group
106
108
  from .health import Health
107
109
  from .hidden_reasoning_message import HiddenReasoningMessage
@@ -365,6 +367,8 @@ __all__ = [
365
367
  "FunctionDefinitionOutput",
366
368
  "FunctionOutput",
367
369
  "FunctionTool",
370
+ "GenerateToolInput",
371
+ "GenerateToolOutput",
368
372
  "Group",
369
373
  "Health",
370
374
  "HiddenReasoningMessage",
@@ -23,6 +23,7 @@ EmbeddingConfigEmbeddingEndpointType = typing.Union[
23
23
  "hugging-face",
24
24
  "mistral",
25
25
  "together",
26
+ "pinecone",
26
27
  ],
27
28
  typing.Any,
28
29
  ]
@@ -0,0 +1,42 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core.unchecked_base_model import UncheckedBaseModel
4
+ import pydantic
5
+ import typing
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
+
8
+
9
+ class GenerateToolInput(UncheckedBaseModel):
10
+ tool_name: str = pydantic.Field()
11
+ """
12
+ Name of the tool to generate code for
13
+ """
14
+
15
+ prompt: str = pydantic.Field()
16
+ """
17
+ User prompt to generate code
18
+ """
19
+
20
+ handle: typing.Optional[str] = pydantic.Field(default=None)
21
+ """
22
+ Handle of the tool to generate code for
23
+ """
24
+
25
+ starter_code: typing.Optional[str] = pydantic.Field(default=None)
26
+ """
27
+ Python source code to parse for JSON schema
28
+ """
29
+
30
+ validation_errors: typing.List[str] = pydantic.Field()
31
+ """
32
+ List of validation errors
33
+ """
34
+
35
+ if IS_PYDANTIC_V2:
36
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
37
+ else:
38
+
39
+ class Config:
40
+ frozen = True
41
+ smart_union = True
42
+ extra = pydantic.Extra.allow
@@ -0,0 +1,33 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core.unchecked_base_model import UncheckedBaseModel
4
+ from .tool import Tool
5
+ import pydantic
6
+ import typing
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
8
+
9
+
10
+ class GenerateToolOutput(UncheckedBaseModel):
11
+ tool: Tool = pydantic.Field()
12
+ """
13
+ Generated tool
14
+ """
15
+
16
+ sample_args: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field()
17
+ """
18
+ Sample arguments for the tool
19
+ """
20
+
21
+ response: str = pydantic.Field()
22
+ """
23
+ Response from the assistant
24
+ """
25
+
26
+ if IS_PYDANTIC_V2:
27
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
28
+ else:
29
+
30
+ class Config:
31
+ frozen = True
32
+ smart_union = True
33
+ extra = pydantic.Extra.allow
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.214
3
+ Version: 0.1.216
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,4 +1,4 @@
1
- letta_client/__init__.py,sha256=Lr_wx_v6AIGHoA5rwxPfrqDgdWbPjCkZEragpbhMu-U,19196
1
+ letta_client/__init__.py,sha256=QS8dk9ddZPVo_KUckgx_NHfR7zLWG5aaHGNy22o0BTY,19294
2
2
  letta_client/agents/__init__.py,sha256=i9PmBueIWESDLqmpzWt1oZVgZNr1rNkO6j0pl5sgvGo,2049
3
3
  letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  letta_client/agents/blocks/client.py,sha256=4UGPYxfGwNN3ZW-SkIdfVZK6cvCcumVAw0_AM8OmoBY,25046
@@ -71,7 +71,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
71
71
  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
72
72
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
73
73
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
74
- letta_client/core/client_wrapper.py,sha256=1YrsZHEyFWIspbihOLYDP-4PRb0P6O_yN2LQYKtF2rw,2336
74
+ letta_client/core/client_wrapper.py,sha256=9r4m1dbdqqO_W5YuNV1tyxfkzxLr5572by2qv5RtI6U,2336
75
75
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
76
76
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
77
77
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -168,7 +168,7 @@ letta_client/tools/types/list_mcp_servers_response_value.py,sha256=Eyji5qB7Fhowi
168
168
  letta_client/tools/types/test_mcp_server_request.py,sha256=sLlOEZdmLfkHqHCkUjntGbr8_MkBhsqpMQ-HwdNOnq0,372
169
169
  letta_client/tools/types/update_mcp_server_request.py,sha256=nCpx9-OvpH0l5iJxEi8kgSok1F1r7liEAZm-kaqBtEo,402
170
170
  letta_client/tools/types/update_mcp_server_response.py,sha256=muwHagaQBMwQI0of9EBCBtG9lD-jELFAevgTB2MjpFQ,375
171
- letta_client/types/__init__.py,sha256=-5MECfLh1Fp5kO_6_PHwucqqqKlU58hxq1Bz4ssLzvY,22854
171
+ letta_client/types/__init__.py,sha256=k-HQc96PL7CKawuZJH0QIU5U4SUeyBDk0gy69oQDAuQ,23009
172
172
  letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
173
173
  letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
174
174
  letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
@@ -258,7 +258,7 @@ letta_client/types/dynamic_manager.py,sha256=5DRNqtUnjeTwOe5mkNB-SXItqLOfEX0avSr
258
258
  letta_client/types/dynamic_manager_update.py,sha256=Kew94BsFP6vP9pUXpZDMFZAo3TyaYWKu1KPgoQQjKYg,888
259
259
  letta_client/types/e_2_b_sandbox_config.py,sha256=w3R4QpPjeie5aKw8sb_eKhl78J0k5vLCcATNS3Qaeyw,957
260
260
  letta_client/types/embedding_config.py,sha256=47DxstNToHfirYxgIn4jNqkt8vDh5taRu635gJer9pU,2678
261
- letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=Ho1HSODi21PkzsZR58g7FlIMReFU2yf0hAS5OyUsW6Q,559
261
+ letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=9-C0KAbQbi2nm5ECDmKVbeqyCbBB6w6Izy5vXvMBAXA,579
262
262
  letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI7eDkoQ,160
263
263
  letta_client/types/file.py,sha256=ZLCEYJqIJ1pzAJn4Pke6gVdKivKU9FrIg98P4GmFY8M,628
264
264
  letta_client/types/file_block.py,sha256=gHLshCMmyn5embgV3LoN_KgXtWRGEwCK6EfGORVLO6g,2660
@@ -271,6 +271,8 @@ letta_client/types/function_definition_input.py,sha256=UpoD7ftRpHquJ5zhy28TjXPBV
271
271
  letta_client/types/function_definition_output.py,sha256=Id0SzyiMHF5l25iKQhCN4sWJwBJ7AkYK-I5RDZy3_rc,741
272
272
  letta_client/types/function_output.py,sha256=7b8550BllXxtZQ3T3jfvZjcCU_ZGWNBvjlrMB8S2xas,578
273
273
  letta_client/types/function_tool.py,sha256=TOETpZdqgPIgd4g9JFo3yvDBpTx4lDFzJNZH8PxAjpI,697
274
+ letta_client/types/generate_tool_input.py,sha256=6_r00rctGxSa1mNDEFCwAc2JOXlmf9BO_rIG7ZksB4Q,1095
275
+ letta_client/types/generate_tool_output.py,sha256=y22000DeKje2FwSaLEXorLfmnrqFE1QbBrQ3nFIWULE,860
274
276
  letta_client/types/group.py,sha256=6Cv30-JOOfRsOG_T9d1rifW40-eYj9g6OR9BvdP7Ppc,2106
275
277
  letta_client/types/health.py,sha256=nQwx5ysn_cJMKUoqsfaPcGNSRSjfwX5S272UiSQJ03w,618
276
278
  letta_client/types/hidden_reasoning_message.py,sha256=FrzJv12sgz6W5VWk74q2jX6UaqB_MItqhDYuUCozPTE,1610
@@ -429,6 +431,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
429
431
  letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
430
432
  letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
431
433
  letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
432
- letta_client-0.1.214.dist-info/METADATA,sha256=zXxNuCSHZsicU5fiXglGdJ42vgE6ANA0d4yeNeVFJRw,5177
433
- letta_client-0.1.214.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
434
- letta_client-0.1.214.dist-info/RECORD,,
434
+ letta_client-0.1.216.dist-info/METADATA,sha256=2fFcWirDAFmbyVDHmJZ-Jy7D0bhvVxAD5fAjd0KAJis,5177
435
+ letta_client-0.1.216.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
436
+ letta_client-0.1.216.dist-info/RECORD,,