Skip to content

The agent engineering platform.

docs: fix typos in libs/core/langchain_core/utils/function_calling.py (#33873)

Lê Nam Khánh88246f45b3ad
diff --git a/libs/core/langchain_core/utils/function_calling.py b/libs/core/langchain_core/utils/function_calling.py
index ada7680c54..f96b3ee1a9 100644
--- a/libs/core/langchain_core/utils/function_calling.py
+++ b/libs/core/langchain_core/utils/function_calling.py
@@ -412,7 +412,7 @@ def convert_to_openai_function(
if strict is not None:
if "strict" in oai_function and oai_function["strict"] != strict:
msg = (
- f"Tool/function already has a 'strict' key wth value "
+ f"Tool/function already has a 'strict' key with value "
f"{oai_function['strict']} which is different from the explicit "
f"`strict` arg received {strict=}."
)