Skip to content

Commit

Permalink
Linting issues first Fix #29034
Browse files Browse the repository at this point in the history
  • Loading branch information
SANTHOSH-SACHIN committed Jan 7, 2025
1 parent a7f700a commit dad06e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/prompts/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dad06e3

Please sign in to comment.