From dad06e3ed01477959273b8587b035d33a7ab4642 Mon Sep 17 00:00:00 2001 From: SanthoshSachin Date: Tue, 7 Jan 2025 11:32:42 +0530 Subject: [PATCH] Linting issues first Fix #29034 --- libs/core/langchain_core/prompts/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/langchain_core/prompts/chat.py b/libs/core/langchain_core/prompts/chat.py index 8fec0bc09962f..5b477abd0d4da 100644 --- a/libs/core/langchain_core/prompts/chat.py +++ b/libs/core/langchain_core/prompts/chat.py @@ -1219,7 +1219,7 @@ def format_messages(self, **kwargs: Any) -> list[BaseMessage]: """ kwargs = self._merge_partial_and_user_variables(**kwargs) result = [] - + for message_template in self.messages: if isinstance(message_template, BaseMessage): # Check if the content contains any template variables