diff --git a/libs/core/langchain_core/runnables/context.py b/libs/core/langchain_core/runnables/context.py index 9b03d8c2d8ef8..c29e88b2977b3 100644 --- a/libs/core/langchain_core/runnables/context.py +++ b/libs/core/langchain_core/runnables/context.py @@ -277,8 +277,8 @@ async def ainvoke( class Context: @staticmethod - def create_scope(pefix: str, /) -> "PrefixContext": - return PrefixContext(prefix=pefix) + def create_scope(scope: str, /) -> "PrefixContext": + return PrefixContext(prefix=scope) @staticmethod def getter(key: Union[str, List[str]], /) -> ContextGet: