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.

Changes create agent API to accept optional system value.

Vandracon54e416c983dc
diff --git a/memgpt/server/rest_api/agents/index.py b/memgpt/server/rest_api/agents/index.py
index eab528e03..1e6389851 100644
--- a/memgpt/server/rest_api/agents/index.py
+++ b/memgpt/server/rest_api/agents/index.py
@@ -97,6 +97,7 @@ def setup_agents_index_router(server: SyncServer, interface: QueuingInterface, p
# TODO turn into a pydantic model
name=request.config["name"],
memory=memory,
+ system=request.config.get("system", None),
# persona_name=persona_name,
# human_name=human_name,
# persona=persona,