Skip to content

The agent engineering platform.

langchain: fix syntax error in code comment for create_tool_calling_agent (#21205)

xindooc1aa237bc297
diff --git a/libs/langchain/langchain/agents/tool_calling_agent/base.py b/libs/langchain/langchain/agents/tool_calling_agent/base.py
index a25ba42724..917abab0ed 100644
--- a/libs/langchain/langchain/agents/tool_calling_agent/base.py
+++ b/libs/langchain/langchain/agents/tool_calling_agent/base.py
@@ -38,7 +38,7 @@ def create_tool_calling_agent(
prompt = ChatPromptTemplate.from_messages(
[
("system", "You are a helpful assistant"),
- ("placeholder", "{chat_history}",
+ ("placeholder", "{chat_history}"),
("human", "{input}"),
("placeholder", "{agent_scratchpad}"),
]