Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/google/adk/workflow/_function_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down