Skip to content

Commit e5ced93

Browse files
yeesiancopybara-github
authored andcommitted
fix: Allow for inheritance of clone behavior in AdkApp
PiperOrigin-RevId: 800487059
1 parent 966c236 commit e5ced93

File tree

1 file changed

+1
-1
lines changed
  • vertexai/agent_engines/templates

1 file changed

+1
-1
lines changed

vertexai/agent_engines/templates/adk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def clone(self):
492492
"""Returns a clone of the ADK application."""
493493
import copy
494494

495-
return AdkApp(
495+
return self.__class__(
496496
agent=copy.deepcopy(self._tmpl_attrs.get("agent")),
497497
enable_tracing=self._tmpl_attrs.get("enable_tracing"),
498498
app_name=self._tmpl_attrs.get("app_name"),

0 commit comments

Comments
 (0)