docs: replace 'state_modifier' with 'prompt' (#3190)

This commit is contained in:
Vadym Barda
2025-01-28 02:51:40 +00:00
committed by GitHub
parent 928126f2d7
commit 0a861815b7
12 changed files with 22 additions and 22 deletions
@@ -143,7 +143,7 @@
"# Choose the LLM that will drive the agent\n",
"llm = ChatOpenAI(model=\"gpt-4-turbo-preview\")\n",
"prompt = \"You are a helpful assistant.\"\n",
"agent_executor = create_react_agent(llm, tools, state_modifier=prompt)"
"agent_executor = create_react_agent(llm, tools, prompt=prompt)"
]
},
{