docs: fix function name in tutorials/agents.ipynb (#22809)

the function called in the flowing example is `create_react_agent`, not
`create_tool_calling_executor `
pull/22831/head
bincat 4 weeks ago committed by GitHub
parent a1268d9e9a
commit 3d6e8547f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -383,7 +383,7 @@
"source": [
"Now, we can initalize the agent with the LLM and the tools.\n",
"\n",
"Note that we are passing in the `model`, not `model_with_tools`. That is because `create_tool_calling_executor` will call `.bind_tools` for us under the hood."
"Note that we are passing in the `model`, not `model_with_tools`. That is because `create_react_agent` will call `.bind_tools` for us under the hood."
]
},
{

Loading…
Cancel
Save