mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
No public description
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/282 from hangfei:main 7b9c5e3bff76ed475fb57d45333a9ab135cac32d PiperOrigin-RevId: 749616712
This commit is contained in:
parent
2af777af6d
commit
f7b436a985
@ -310,9 +310,7 @@ async def _process_function_live_helper(
|
||||
function_response = {
|
||||
'status': f'No active streaming function named {function_name} found'
|
||||
}
|
||||
elif inspect.isasyncgenfunction(tool.func):
|
||||
print('is async')
|
||||
|
||||
elif hasattr(tool, "func") and inspect.isasyncgenfunction(tool.func):
|
||||
# for streaming tool use case
|
||||
# we require the function to be a async generator function
|
||||
async def run_tool_and_update_queue(tool, function_args, tool_context):
|
||||
|
Loading…
Reference in New Issue
Block a user