Skip to content

The agent engineering platform.

fix llm math prompt (#466)

Harrison Chasec65efd298684
diff --git a/langchain/chains/llm_math/prompt.py b/langchain/chains/llm_math/prompt.py
index 252ec49301..05b7069829 100644
--- a/langchain/chains/llm_math/prompt.py
+++ b/langchain/chains/llm_math/prompt.py
@@ -33,6 +33,7 @@ print(37593 * 67)
```
Answer: 2518731
-Question: {question}"""
+Question: {question}
+"""
PROMPT = PromptTemplate(input_variables=["question"], template=_PROMPT_TEMPLATE)