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 30b1722 commit daed456Copy full SHA for daed456
src/google/adk/flows/llm_flows/functions.py
@@ -310,7 +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):
+ elif hasattr(tool, "func") and inspect.isasyncgenfunction(tool.func):
314
print('is async')
315
316
# for streaming tool use case
0 commit comments