From 57f4623e65a0849913635afbf5324207becaa65c Mon Sep 17 00:00:00 2001 From: DreamOfStars Date: Sun, 17 Nov 2024 17:50:27 +0800 Subject: [PATCH] Fix: Add missing punctuation in react_single_input.py --- .../langchain/agents/output_parsers/react_single_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langchain/langchain/agents/output_parsers/react_single_input.py b/libs/langchain/langchain/agents/output_parsers/react_single_input.py index f63821588fe5d..b853cb04aaa18 100644 --- a/libs/langchain/langchain/agents/output_parsers/react_single_input.py +++ b/libs/langchain/langchain/agents/output_parsers/react_single_input.py @@ -9,7 +9,7 @@ FINAL_ANSWER_ACTION = "Final Answer:" MISSING_ACTION_AFTER_THOUGHT_ERROR_MESSAGE = ( - "Invalid Format: Missing 'Action:' after 'Thought:" + "Invalid Format: Missing 'Action:' after 'Thought:'" ) MISSING_ACTION_INPUT_AFTER_ACTION_ERROR_MESSAGE = ( "Invalid Format: Missing 'Action Input:' after 'Action:'"