Skip to content

The agent engineering platform.

fix(langchain): fix typo 'safegaurd' -> 'safeguard' (#34789)

yyeff21c75fc37
diff --git a/libs/langchain/langchain_classic/smith/evaluation/runner_utils.py b/libs/langchain/langchain_classic/smith/evaluation/runner_utils.py
index 59229cf217..9a8d1e93c5 100644
--- a/libs/langchain/langchain_classic/smith/evaluation/runner_utils.py
+++ b/libs/langchain/langchain_classic/smith/evaluation/runner_utils.py
@@ -198,7 +198,7 @@ def _wrap_in_chain_factory(
"Cannot directly evaluate a chain with stateful memory."
" To evaluate this chain, pass in a chain constructor"
" that initializes fresh memory each time it is called."
- " This will safegaurd against information"
+ " This will safeguard against information"
" leakage between dataset examples."
"\nFor example:\n\n"
"def chain_constructor():\n"