From ffaddab11031969bae7348e68f3c7a47c9906e10 Mon Sep 17 00:00:00 2001 From: Gustaf <79180496+GGyll@users.noreply.github.com> Date: Wed, 7 May 2025 11:06:44 -0400 Subject: [PATCH] docs: Fixed incorrect tool in 'Write from tools' documentation (#4572) I was having trouble following this section of the docs and I realized it is because the incorrect tools is included in the tools list. `update_user_info` was defined earlier in the file but never used. --- docs/docs/agents/memory.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/agents/memory.md b/docs/docs/agents/memory.md index 640e48c8c..399276b9e 100644 --- a/docs/docs/agents/memory.md +++ b/docs/docs/agents/memory.md @@ -282,7 +282,7 @@ def greet( agent = create_react_agent( model="anthropic:claude-3-7-sonnet-latest", - tools=[get_user_info, greet], + tools=[update_user_info, greet], # highlight-next-line state_schema=CustomState ) @@ -420,4 +420,4 @@ LangGraph also allows you to [search](https://langchain-ai.github.io/langgraph/h ## Additional resources -* [Memory in LangGraph](../concepts/memory.md) \ No newline at end of file +* [Memory in LangGraph](../concepts/memory.md)