8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2af777a commit f7b436aCopy full SHA for f7b436a
src/google/adk/flows/llm_flows/functions.py
@@ -310,9 +310,7 @@ async def _process_function_live_helper(
310
function_response = {
311
'status': f'No active streaming function named {function_name} found'
312
}
313
- elif inspect.isasyncgenfunction(tool.func):
314
- print('is async')
315
-
+ elif hasattr(tool, "func") and inspect.isasyncgenfunction(tool.func):
316
# for streaming tool use case
317
# we require the function to be a async generator function
318
async def run_tool_and_update_queue(tool, function_args, tool_context):
0 commit comments