Compare commits

...

3 Commits

Author SHA1 Message Date
isaac hershenson
8f2c481e43 newline error 2024-07-22 09:48:07 -07:00
isaac hershenson
b5f22195b6 Merge branch 'master' of https://github.com/langchain-ai/langchain 2024-07-22 09:43:33 -07:00
isaac hershenson
ed45cba7ab first draft 2024-07-17 17:10:02 -07:00
2 changed files with 30 additions and 4 deletions

File diff suppressed because one or more lines are too long

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