mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
parent
9ff249a38d
commit
19356b6445
@ -727,6 +727,8 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"system_message = SystemMessage(content=system)\n",
|
"system_message = SystemMessage(content=system)\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
"tools.append(retriever_tool)\n",
|
||||||
|
"\n",
|
||||||
"agent = create_react_agent(llm, tools, messages_modifier=system_message)"
|
"agent = create_react_agent(llm, tools, messages_modifier=system_message)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user