Replies: 1 comment
-
|
From the docs/samples, new_message = types.Content(
role="user",
parts=[types.Part(function_response=types.FunctionResponse(
id=original_function_call.id,
name=original_function_call.name,
response={"status": "completed", "result": result},
))],
)
async for event in runner.run_async(
user_id=user_id,
session_id=session_id,
invocation_id=paused_invocation_id,
new_message=new_message,
):
...The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It's not "HITL."
the tool has a long execution time, so when the user has to wait,
I wonder how to turn the user so that user can ask the next question without blocking(waiting).
and
when the tool is completed, it should be able to inform the user.
The example mentions only a case for HITL.
HITL injects new_message from outside back to Agent.
but. I want to know it without user input(like approval)
https://github.com/google/adk-python/tree/main/contributing/samples/tools/long_running_functions
I am curious about the process from start to in-progress to complete ( not HITL ).
how agent know tool is completed. and how to get result of tool?
Beta Was this translation helpful? Give feedback.
All reactions