letta-client 0.1.216__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 +4 -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 +2 -0
- letta_client/types/folder.py +81 -0
- {letta_client-0.1.216.dist-info → letta_client-0.1.217.dist-info}/METADATA +1 -1
- {letta_client-0.1.216.dist-info → letta_client-0.1.217.dist-info}/RECORD +10 -7
- {letta_client-0.1.216.dist-info → letta_client-0.1.217.dist-info}/WHEEL +0 -0
letta_client/__init__.py
CHANGED
|
@@ -98,6 +98,7 @@ from .types import (
|
|
|
98
98
|
FileMetadata,
|
|
99
99
|
FileProcessingStatus,
|
|
100
100
|
FileStats,
|
|
101
|
+
Folder,
|
|
101
102
|
FunctionCall,
|
|
102
103
|
FunctionDefinitionInput,
|
|
103
104
|
FunctionDefinitionOutput,
|
|
@@ -275,6 +276,7 @@ from . import (
|
|
|
275
276
|
blocks,
|
|
276
277
|
client_side_access_tokens,
|
|
277
278
|
embedding_models,
|
|
279
|
+
folders,
|
|
278
280
|
groups,
|
|
279
281
|
health,
|
|
280
282
|
identities,
|
|
@@ -465,6 +467,7 @@ __all__ = [
|
|
|
465
467
|
"FileMetadata",
|
|
466
468
|
"FileProcessingStatus",
|
|
467
469
|
"FileStats",
|
|
470
|
+
"Folder",
|
|
468
471
|
"FunctionCall",
|
|
469
472
|
"FunctionDefinitionInput",
|
|
470
473
|
"FunctionDefinitionOutput",
|
|
@@ -652,6 +655,7 @@ __all__ = [
|
|
|
652
655
|
"blocks",
|
|
653
656
|
"client_side_access_tokens",
|
|
654
657
|
"embedding_models",
|
|
658
|
+
"folders",
|
|
655
659
|
"groups",
|
|
656
660
|
"health",
|
|
657
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
|