[docs]: minor react change (#24509)

This commit is contained in:
Isaac Francisco
2024-07-22 10:25:01 -07:00
committed by GitHub
parent 10e3982b59
commit 1318d534af

View File

@@ -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!",
}
)