letta-client 0.1.258__py3-none-any.whl → 0.1.260__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 +2 -0
- letta_client/core/client_wrapper.py +2 -2
- letta_client/types/__init__.py +2 -0
- letta_client/types/mcp_tool_execute_request.py +23 -0
- {letta_client-0.1.258.dist-info → letta_client-0.1.260.dist-info}/METADATA +1 -1
- {letta_client-0.1.258.dist-info → letta_client-0.1.260.dist-info}/RECORD +7 -6
- {letta_client-0.1.258.dist-info → letta_client-0.1.260.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -172,6 +172,7 @@ from .types import (
|
|
|
172
172
|
McpServerSchema,
|
|
173
173
|
McpServerType,
|
|
174
174
|
McpTool,
|
|
175
|
+
McpToolExecuteRequest,
|
|
175
176
|
Memory,
|
|
176
177
|
Message,
|
|
177
178
|
MessageContentItem,
|
|
@@ -576,6 +577,7 @@ __all__ = [
|
|
|
576
577
|
"McpServerSchema",
|
|
577
578
|
"McpServerType",
|
|
578
579
|
"McpTool",
|
|
580
|
+
"McpToolExecuteRequest",
|
|
579
581
|
"Memory",
|
|
580
582
|
"Message",
|
|
581
583
|
"MessageContentItem",
|
|
@@ -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.
|
|
27
|
+
"User-Agent": "letta-client/0.1.260",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-SDK-Name": "letta-client",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.260",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
letta_client/types/__init__.py
CHANGED
|
@@ -179,6 +179,7 @@ from .max_count_per_step_tool_rule_schema import MaxCountPerStepToolRuleSchema
|
|
|
179
179
|
from .mcp_server_schema import McpServerSchema
|
|
180
180
|
from .mcp_server_type import McpServerType
|
|
181
181
|
from .mcp_tool import McpTool
|
|
182
|
+
from .mcp_tool_execute_request import McpToolExecuteRequest
|
|
182
183
|
from .memory import Memory
|
|
183
184
|
from .message import Message
|
|
184
185
|
from .message_content_item import MessageContentItem
|
|
@@ -469,6 +470,7 @@ __all__ = [
|
|
|
469
470
|
"McpServerSchema",
|
|
470
471
|
"McpServerType",
|
|
471
472
|
"McpTool",
|
|
473
|
+
"McpToolExecuteRequest",
|
|
472
474
|
"Memory",
|
|
473
475
|
"Message",
|
|
474
476
|
"MessageContentItem",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class McpToolExecuteRequest(UncheckedBaseModel):
|
|
11
|
+
args: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
12
|
+
"""
|
|
13
|
+
Arguments to pass to the MCP tool
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
frozen = True
|
|
22
|
+
smart_union = True
|
|
23
|
+
extra = pydantic.Extra.allow
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=roYG1PSllcV-R5by_werXmNv4kxE7vfvM5wGOmphHOI,21288
|
|
2
2
|
letta_client/agents/__init__.py,sha256=JkuWGGNJsCfnMr2DFzQ1SiqEB1tcFZnafdidODi0_DY,2166
|
|
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
|
|
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
92
92
|
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
|
|
93
93
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
94
94
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
95
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
95
|
+
letta_client/core/client_wrapper.py,sha256=TicqkYhwaGuoRzrjY9aJ0oa6OLc_ttjCyNInLZPAoYw,2776
|
|
96
96
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
97
97
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
98
98
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -228,7 +228,7 @@ letta_client/tools/types/streaming_response.py,sha256=V1qT-XAqm-z7zffJ7W1JKPCaxZ
|
|
|
228
228
|
letta_client/tools/types/test_mcp_server_request.py,sha256=3SqjEL3EYi7iV57TjTIzuBSKv8O3Y7qSUFrCiXEvSRk,373
|
|
229
229
|
letta_client/tools/types/update_mcp_server_request.py,sha256=MHouV3iyZCTROguOQP5rOYvnmvDbBeXe5VtEejRvrEs,403
|
|
230
230
|
letta_client/tools/types/update_mcp_server_response.py,sha256=BJTPHWkb8hwgd4FvftQ8eZjl2QzCQT-vZAUVnLft9hw,376
|
|
231
|
-
letta_client/types/__init__.py,sha256=
|
|
231
|
+
letta_client/types/__init__.py,sha256=FLNlxqjCtpRVHAjP4lOg6rdRU9Lz4zuGnwLvmxpIdS4,25860
|
|
232
232
|
letta_client/types/action_model.py,sha256=VTXavHB6J2d4MjjTMEpkuEyVaiTHyj1FGfa4j8kN6hQ,1241
|
|
233
233
|
letta_client/types/action_parameters_model.py,sha256=s1mJ4tycms8UmCFsxyjKr6RbghSuqv35xpa9mK42sjg,829
|
|
234
234
|
letta_client/types/action_response_model.py,sha256=LcML150OvsKimVV3sP4jSFh8pVxQXn_r_ff8DADOr3c,825
|
|
@@ -398,6 +398,7 @@ letta_client/types/max_count_per_step_tool_rule_schema.py,sha256=yFKS21DiYLnfNVT
|
|
|
398
398
|
letta_client/types/mcp_server_schema.py,sha256=G-7-dXSlOXzpfoqRHpu6BdmnVHSeNWuF7J99_XshXqE,1108
|
|
399
399
|
letta_client/types/mcp_server_type.py,sha256=cEiRY8zJw3YdV0RV6tt4JUYd0AHT_UNeLgxaouU-_4A,172
|
|
400
400
|
letta_client/types/mcp_tool.py,sha256=DO7DnUwd29i1Z5IsEy6TgbHc60SVmVJDrIrT8Vq9t-s,1377
|
|
401
|
+
letta_client/types/mcp_tool_execute_request.py,sha256=SVH2RlYN6Lb95-8eSB_PZYpHK_lOqeEELIZTmw7jBVY,711
|
|
401
402
|
letta_client/types/memory.py,sha256=VduNAXj6OQ9lbPKcC5mLUZmnM2yUCiWLTISbvcfs93U,1257
|
|
402
403
|
letta_client/types/message.py,sha256=1-7MIu7TOSWhbGKw4aoVG07IajswlT4CInMMjS_kg4M,4735
|
|
403
404
|
letta_client/types/message_content_item.py,sha256=mu9j_dp-XAHQjbE0bv5wxMH3fTRW_dCtiIzbhdCMauw,630
|
|
@@ -517,6 +518,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
517
518
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
518
519
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
519
520
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
520
|
-
letta_client-0.1.
|
|
521
|
-
letta_client-0.1.
|
|
522
|
-
letta_client-0.1.
|
|
521
|
+
letta_client-0.1.260.dist-info/METADATA,sha256=-y7Y2AvcPEhBcbtgdIv6US7BXBY9zpdqJtcMz2HHABM,5781
|
|
522
|
+
letta_client-0.1.260.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
523
|
+
letta_client-0.1.260.dist-info/RECORD,,
|
|
File without changes
|