Skip to content

The agent engineering platform.

docs: update numbering of items in docstring (#25267)

gbaian10aa2722cbe23e
diff --git a/libs/core/langchain_core/prompts/chat.py b/libs/core/langchain_core/prompts/chat.py
index 2254eb2f01..a53f1bb251 100644
--- a/libs/core/langchain_core/prompts/chat.py
+++ b/libs/core/langchain_core/prompts/chat.py
@@ -1177,7 +1177,7 @@ class ChatPromptTemplate(BaseChatPromptTemplate):
A message can be represented using the following formats:
(1) BaseMessagePromptTemplate, (2) BaseMessage, (3) 2-tuple of
(message type, template); e.g., ("human", "{user_input}"),
- (4) 2-tuple of (message class, template), (4) a string which is
+ (4) 2-tuple of (message class, template), (5) a string which is
shorthand for ("human", template); e.g., "{user_input}".
template_format: format of the template. Defaults to "f-string".