From 18b036fa07256a6ad77f0f4bbac86cf39110ea24 Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Fri, 8 Aug 2025 13:47:13 -0700 Subject: [PATCH] feat: add line number warning to `memory_insert` (#3829) --- letta/functions/function_sets/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letta/functions/function_sets/base.py b/letta/functions/function_sets/base.py index 36ebec98..ee8df51b 100644 --- a/letta/functions/function_sets/base.py +++ b/letta/functions/function_sets/base.py @@ -264,7 +264,7 @@ def memory_insert(agent_state: "AgentState", label: str, new_str: str, insert_li Args: label (str): Section of the memory to be edited, identified by its label. - new_str (str): The text to insert. + new_str (str): The text to insert. Do not include line number prefixes. insert_line (int): The line number after which to insert the text (0 for beginning of file). Defaults to -1 (end of the file). Returns: