Skip to content

The agent engineering platform.

fix comments in output format (#11536)

Stephen Hankinson447a523662cc
diff --git a/libs/langchain/langchain/agents/conversational_chat/prompt.py b/libs/langchain/langchain/agents/conversational_chat/prompt.py
index 3d1799ac3d..712a9238ea 100644
--- a/libs/langchain/langchain/agents/conversational_chat/prompt.py
+++ b/libs/langchain/langchain/agents/conversational_chat/prompt.py
@@ -18,8 +18,8 @@ Markdown code snippet formatted in the following schema:
```json
{{{{
- "action": string, \\ The action to take. Must be one of {tool_names}
- "action_input": string \\ The input to the action
+ "action": string, \\\\ The action to take. Must be one of {tool_names}
+ "action_input": string \\\\ The input to the action
}}}}
```
@@ -29,7 +29,7 @@ Use this if you want to respond directly to the human. Markdown code snippet for
```json
{{{{
"action": "Final Answer",
- "action_input": string \\ You should put what you want to return to use here
+ "action_input": string \\\\ You should put what you want to return to use here
}}}}
```"""