Skip to content

Commit e9d9c31

Browse files
Tongzhou-Jiangcopybara-github
authored andcommitted
fix: fix the change runner behavior back to sync function in streaming_agent_run_with_events
PiperOrigin-RevId: 832031838
1 parent c3abe51 commit e9d9c31

File tree

1 file changed

+1
-1
lines changed
  • vertexai/preview/reasoning_engines/templates

1 file changed

+1
-1
lines changed

vertexai/preview/reasoning_engines/templates/adk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ async def _invoke_agent_async():
10121012
# Run the agent.
10131013
message_for_agent = types.Content(**request.message)
10141014
try:
1015-
for event in runner.run_async(
1015+
for event in runner.run(
10161016
user_id=request.user_id,
10171017
session_id=session.id,
10181018
new_message=message_for_agent,

0 commit comments

Comments
 (0)