The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Lint
Nuno Campos151f27d502c5
diff --git a/libs/langchain/langchain/schema/runnable/utils.py b/libs/langchain/langchain/schema/runnable/utils.pyindex 2567985276..693749a534 100644--- a/libs/langchain/langchain/schema/runnable/utils.py+++ b/libs/langchain/langchain/schema/runnable/utils.py@@ -92,7 +92,8 @@ class GetLambdaSource(ast.NodeVisitor):self.source: Optional[str] = Nonedef visit_Lambda(self, node: ast.Lambda) -> Any:- self.source = ast.unparse(node)+ if hasattr(ast, "unparse"):+ self.source = ast.unparse(node)def get_function_first_arg_dict_keys(func: Callable) -> Optional[List[str]]: