Skip to content

Commit 4f1e013

Browse files
yeesiancopybara-github
authored andcommitted
fix: GenAI SDK client - Deploy ADK agents using the AdkApp template in GA
PiperOrigin-RevId: 799787635
1 parent be779ad commit 4f1e013

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vertexai/_genai/_agent_engines_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,9 +1231,9 @@ def _validate_agent_or_raise(
12311231

12321232
if isinstance(agent, BaseAgent):
12331233
logger.info("Deploying google.adk.agents.Agent as an application.")
1234-
from vertexai.preview import reasoning_engines
1234+
from vertexai import agent_engines
12351235

1236-
agent = reasoning_engines.AdkApp(agent=agent)
1236+
agent = agent_engines.AdkApp(agent=agent)
12371237
except Exception:
12381238
pass
12391239
is_queryable = isinstance(agent, Queryable) and callable(agent.query)

0 commit comments

Comments
 (0)