letta-client 0.1.42__py3-none-any.whl → 0.1.43__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/agents/__init__.py +3 -2
- letta_client/agents/blocks/client.py +753 -0
- letta_client/agents/client.py +8 -4
- letta_client/agents/core_memory/client.py +1 -734
- letta_client/agents/passages/__init__.py +2 -0
- letta_client/agents/{archival_memory → passages}/client.py +8 -8
- letta_client/core/client_wrapper.py +1 -1
- {letta_client-0.1.42.dist-info → letta_client-0.1.43.dist-info}/METADATA +1 -1
- {letta_client-0.1.42.dist-info → letta_client-0.1.43.dist-info}/RECORD +11 -9
- /letta_client/agents/{archival_memory → blocks}/__init__.py +0 -0
- {letta_client-0.1.42.dist-info → letta_client-0.1.43.dist-info}/WHEEL +0 -0
letta_client/agents/client.py
CHANGED
|
@@ -6,7 +6,8 @@ from .context.client import ContextClient
|
|
|
6
6
|
from .tools.client import ToolsClient
|
|
7
7
|
from .sources.client import SourcesClient
|
|
8
8
|
from .core_memory.client import CoreMemoryClient
|
|
9
|
-
from .
|
|
9
|
+
from .blocks.client import BlocksClient
|
|
10
|
+
from .passages.client import PassagesClient
|
|
10
11
|
from .messages.client import MessagesClient
|
|
11
12
|
from .templates.client import TemplatesClient
|
|
12
13
|
from .memory_variables.client import MemoryVariablesClient
|
|
@@ -33,7 +34,8 @@ from .context.client import AsyncContextClient
|
|
|
33
34
|
from .tools.client import AsyncToolsClient
|
|
34
35
|
from .sources.client import AsyncSourcesClient
|
|
35
36
|
from .core_memory.client import AsyncCoreMemoryClient
|
|
36
|
-
from .
|
|
37
|
+
from .blocks.client import AsyncBlocksClient
|
|
38
|
+
from .passages.client import AsyncPassagesClient
|
|
37
39
|
from .messages.client import AsyncMessagesClient
|
|
38
40
|
from .templates.client import AsyncTemplatesClient
|
|
39
41
|
from .memory_variables.client import AsyncMemoryVariablesClient
|
|
@@ -49,7 +51,8 @@ class AgentsClient:
|
|
|
49
51
|
self.tools = ToolsClient(client_wrapper=self._client_wrapper)
|
|
50
52
|
self.sources = SourcesClient(client_wrapper=self._client_wrapper)
|
|
51
53
|
self.core_memory = CoreMemoryClient(client_wrapper=self._client_wrapper)
|
|
52
|
-
self.
|
|
54
|
+
self.blocks = BlocksClient(client_wrapper=self._client_wrapper)
|
|
55
|
+
self.passages = PassagesClient(client_wrapper=self._client_wrapper)
|
|
53
56
|
self.messages = MessagesClient(client_wrapper=self._client_wrapper)
|
|
54
57
|
self.templates = TemplatesClient(client_wrapper=self._client_wrapper)
|
|
55
58
|
self.memory_variables = MemoryVariablesClient(client_wrapper=self._client_wrapper)
|
|
@@ -833,7 +836,8 @@ class AsyncAgentsClient:
|
|
|
833
836
|
self.tools = AsyncToolsClient(client_wrapper=self._client_wrapper)
|
|
834
837
|
self.sources = AsyncSourcesClient(client_wrapper=self._client_wrapper)
|
|
835
838
|
self.core_memory = AsyncCoreMemoryClient(client_wrapper=self._client_wrapper)
|
|
836
|
-
self.
|
|
839
|
+
self.blocks = AsyncBlocksClient(client_wrapper=self._client_wrapper)
|
|
840
|
+
self.passages = AsyncPassagesClient(client_wrapper=self._client_wrapper)
|
|
837
841
|
self.messages = AsyncMessagesClient(client_wrapper=self._client_wrapper)
|
|
838
842
|
self.templates = AsyncTemplatesClient(client_wrapper=self._client_wrapper)
|
|
839
843
|
self.memory_variables = AsyncMemoryVariablesClient(client_wrapper=self._client_wrapper)
|