Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: typo in core memory api docs (#3181)

jnjpng8beb8425cc4b
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py
index 6f0df27d9..d5ec4226c 100644
--- a/letta/server/rest_api/routers/v1/agents.py
+++ b/letta/server/rest_api/routers/v1/agents.py
@@ -522,7 +522,7 @@ async def attach_block(
actor_id: str | None = Header(None, alias="user_id"),
):
"""
- Attach a core memoryblock to an agent.
+ Attach a core memory block to an agent.
"""
actor = await server.user_manager.get_actor_or_default_async(actor_id=actor_id)
return await server.agent_manager.attach_block_async(agent_id=agent_id, block_id=block_id, actor=actor)