feat: add --sleeptime CLI flag (#94)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -239,10 +239,9 @@ export async function createAgent(
|
||||
|
||||
// Update persona block for sleeptime agents (only if persona was newly created, not shared)
|
||||
if (enableSleeptime && newGlobalBlockIds.persona) {
|
||||
await client.agents.blocks.modify("persona", {
|
||||
await client.agents.blocks.modify("memory_persona", {
|
||||
agent_id: agent.id,
|
||||
value: SLEEPTIME_MEMORY_PERSONA,
|
||||
label: "memory_persona",
|
||||
description: "Instructions for the sleep-time memory management agent",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user