mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 06:53:16 +00:00
[docs]: minor react change (#24509)
This commit is contained in:
@@ -71,7 +71,7 @@ def create_react_agent(
|
||||
"input": "what's my name?",
|
||||
# Notice that chat_history is a string
|
||||
# since this prompt is aimed at LLMs, not chat models
|
||||
"chat_history": "Human: My name is Bob\nAI: Hello Bob!",
|
||||
"chat_history": "Human: My name is Bob\\nAI: Hello Bob!",
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user