The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix typo in docstring of RetryWithErrorOutputParser (#5244)
mwinterde9e57be4b5c20
diff --git a/langchain/output_parsers/retry.py b/langchain/output_parsers/retry.pyindex bbbe82d94c..7d9a797379 100644--- a/langchain/output_parsers/retry.py+++ b/langchain/output_parsers/retry.py@@ -85,7 +85,7 @@ class RetryWithErrorOutputParser(BaseOutputParser[T]):"""Wraps a parser and tries to fix parsing errors.Does this by passing the original prompt, the completion, AND the error- that was raised to another language and telling it that the completion+ that was raised to another language model and telling it that the completiondid not work, and raised the given error. Differs from RetryOutputParserin that this implementation provides the error that was raised back to theLLM, which in theory should give it more information on how to fix it.