diff --git a/src/google/adk/workflow/_function_node.py b/src/google/adk/workflow/_function_node.py index 15670634af..61c9d9d54e 100644 --- a/src/google/adk/workflow/_function_node.py +++ b/src/google/adk/workflow/_function_node.py @@ -476,7 +476,7 @@ def model_copy( # If the wrapped function is a bound method of a Node, we need to clone # the Node and re-bind the function to the new instance. # This is needed if the function is referring to params like 'name' from the "self" reference. - # Like Workflow or LLM use that name for event node_paths or retreving session events. + # Like Workflow or LLM use that name for event node_paths or retrieving session events. func = self._func if inspect.ismethod(func) and isinstance( getattr(func, '__self__', None), BaseNode