letta-client 0.1.215__py3-none-any.whl → 0.1.217__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 +8 -0
- letta_client/base_client.py +4 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/folders/__init__.py +2 -0
- letta_client/folders/client.py +1933 -0
- letta_client/types/__init__.py +6 -0
- letta_client/types/folder.py +81 -0
- letta_client/types/generate_tool_input.py +42 -0
- letta_client/types/generate_tool_output.py +33 -0
- {letta_client-0.1.215.dist-info → letta_client-0.1.217.dist-info}/METADATA +1 -1
- {letta_client-0.1.215.dist-info → letta_client-0.1.217.dist-info}/RECORD +12 -7
- {letta_client-0.1.215.dist-info → letta_client-0.1.217.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -98,11 +98,14 @@ from .types import (
|
|
|
98
98
|
FileMetadata,
|
|
99
99
|
FileProcessingStatus,
|
|
100
100
|
FileStats,
|
|
101
|
+
Folder,
|
|
101
102
|
FunctionCall,
|
|
102
103
|
FunctionDefinitionInput,
|
|
103
104
|
FunctionDefinitionOutput,
|
|
104
105
|
FunctionOutput,
|
|
105
106
|
FunctionTool,
|
|
107
|
+
GenerateToolInput,
|
|
108
|
+
GenerateToolOutput,
|
|
106
109
|
Group,
|
|
107
110
|
Health,
|
|
108
111
|
HiddenReasoningMessage,
|
|
@@ -273,6 +276,7 @@ from . import (
|
|
|
273
276
|
blocks,
|
|
274
277
|
client_side_access_tokens,
|
|
275
278
|
embedding_models,
|
|
279
|
+
folders,
|
|
276
280
|
groups,
|
|
277
281
|
health,
|
|
278
282
|
identities,
|
|
@@ -463,11 +467,14 @@ __all__ = [
|
|
|
463
467
|
"FileMetadata",
|
|
464
468
|
"FileProcessingStatus",
|
|
465
469
|
"FileStats",
|
|
470
|
+
"Folder",
|
|
466
471
|
"FunctionCall",
|
|
467
472
|
"FunctionDefinitionInput",
|
|
468
473
|
"FunctionDefinitionOutput",
|
|
469
474
|
"FunctionOutput",
|
|
470
475
|
"FunctionTool",
|
|
476
|
+
"GenerateToolInput",
|
|
477
|
+
"GenerateToolOutput",
|
|
471
478
|
"Group",
|
|
472
479
|
"GroupCreateManagerConfig",
|
|
473
480
|
"GroupUpdateManagerConfig",
|
|
@@ -648,6 +655,7 @@ __all__ = [
|
|
|
648
655
|
"blocks",
|
|
649
656
|
"client_side_access_tokens",
|
|
650
657
|
"embedding_models",
|
|
658
|
+
"folders",
|
|
651
659
|
"groups",
|
|
652
660
|
"health",
|
|
653
661
|
"identities",
|
letta_client/base_client.py
CHANGED
|
@@ -6,6 +6,7 @@ import httpx
|
|
|
6
6
|
from .core.client_wrapper import SyncClientWrapper
|
|
7
7
|
from .tools.client import ToolsClient
|
|
8
8
|
from .sources.client import SourcesClient
|
|
9
|
+
from .folders.client import FoldersClient
|
|
9
10
|
from .agents.client import AgentsClient
|
|
10
11
|
from .groups.client import GroupsClient
|
|
11
12
|
from .identities.client import IdentitiesClient
|
|
@@ -28,6 +29,7 @@ from .projects.client import ProjectsClient
|
|
|
28
29
|
from .core.client_wrapper import AsyncClientWrapper
|
|
29
30
|
from .tools.client import AsyncToolsClient
|
|
30
31
|
from .sources.client import AsyncSourcesClient
|
|
32
|
+
from .folders.client import AsyncFoldersClient
|
|
31
33
|
from .agents.client import AsyncAgentsClient
|
|
32
34
|
from .groups.client import AsyncGroupsClient
|
|
33
35
|
from .identities.client import AsyncIdentitiesClient
|
|
@@ -113,6 +115,7 @@ class LettaBase:
|
|
|
113
115
|
)
|
|
114
116
|
self.tools = ToolsClient(client_wrapper=self._client_wrapper)
|
|
115
117
|
self.sources = SourcesClient(client_wrapper=self._client_wrapper)
|
|
118
|
+
self.folders = FoldersClient(client_wrapper=self._client_wrapper)
|
|
116
119
|
self.agents = AgentsClient(client_wrapper=self._client_wrapper)
|
|
117
120
|
self.groups = GroupsClient(client_wrapper=self._client_wrapper)
|
|
118
121
|
self.identities = IdentitiesClient(client_wrapper=self._client_wrapper)
|
|
@@ -198,6 +201,7 @@ class AsyncLettaBase:
|
|
|
198
201
|
)
|
|
199
202
|
self.tools = AsyncToolsClient(client_wrapper=self._client_wrapper)
|
|
200
203
|
self.sources = AsyncSourcesClient(client_wrapper=self._client_wrapper)
|
|
204
|
+
self.folders = AsyncFoldersClient(client_wrapper=self._client_wrapper)
|
|
201
205
|
self.agents = AsyncAgentsClient(client_wrapper=self._client_wrapper)
|
|
202
206
|
self.groups = AsyncGroupsClient(client_wrapper=self._client_wrapper)
|
|
203
207
|
self.identities = AsyncIdentitiesClient(client_wrapper=self._client_wrapper)
|
|
@@ -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.
|
|
27
|
+
"X-Fern-SDK-Version": "0.1.217",
|
|
28
28
|
}
|
|
29
29
|
if self._project is not None:
|
|
30
30
|
headers["X-Project"] = self._project
|