Skip to content

The agent engineering platform.

Fix typo in docstring (#11256)

Yeonji-Lim61ab1b126638
diff --git a/libs/langchain/langchain/agents/agent.py b/libs/langchain/langchain/agents/agent.py
index 67fbfbe810..f46e1595c3 100644
--- a/libs/langchain/langchain/agents/agent.py
+++ b/libs/langchain/langchain/agents/agent.py
@@ -750,7 +750,6 @@ class AgentExecutor(Chain):
] = False
"""How to handle errors raised by the agent's output parser.
Defaults to `False`, which raises the error.
-s
If `true`, the error will be sent back to the LLM as an observation.
If a string, the string itself will be sent to the LLM as an observation.
If a callable function, the function will be called with the exception