diff --git a/examples/create-react-agent-system-prompt.ipynb b/examples/create-react-agent-system-prompt.ipynb index 6b04f77a1..c258a74c5 100644 --- a/examples/create-react-agent-system-prompt.ipynb +++ b/examples/create-react-agent-system-prompt.ipynb @@ -9,7 +9,7 @@ "\n", "This tutorial will show how to add a custom system prompt to the prebuilt ReAct agent. Please see [this tutorial](./create-react-agent.ipynb) for how to get started with the prebuilt ReAct agent\n", "\n", - "You can add a custom system prompt by passing a string to the `messages_modifier` param." + "You can add a custom system prompt by passing a string to the `state_modifier` param." ] }, { @@ -112,7 +112,7 @@ "\n", "from langgraph.prebuilt import create_react_agent\n", "\n", - "graph = create_react_agent(model, tools=tools, messages_modifier=prompt)" + "graph = create_react_agent(model, tools=tools, state_modifier=prompt)" ] }, {