Skip to content

The agent engineering platform.

Improve chat tool prompt (#1989)

Francisco Ingham41c8a42e220b
diff --git a/langchain/agents/conversational_chat/prompt.py b/langchain/agents/conversational_chat/prompt.py
index 8c4737bbcf..06c01d9324 100644
--- a/langchain/agents/conversational_chat/prompt.py
+++ b/langchain/agents/conversational_chat/prompt.py
@@ -54,4 +54,4 @@ TEMPLATE_TOOL_RESPONSE = """TOOL RESPONSE:
USER'S INPUT
--------------------
-Okay, so what is the response to my original question? If using information from tools, you must say it explicitly - I have forgotten all TOOL RESPONSES! Remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else."""
+Okay, so what is the response to my last comment? If using information obtained from the tools you must mention it explicitly without mentioning the tool names - I have forgotten all TOOL RESPONSES! Remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else."""