adk-python/tests/unittests/flows/llm_flows
Alankrit Verma 21736067f9 feat(llm_flows): support async before/after tool callbacks
Previously, callbacks were treated as purely synchronous,
so passing an async coroutine caused “was never awaited”
errors and Pydantic serialization failures.

Now we detect awaitable return values from
before_tool_callback and after_tool_callback,
and `await` them if necessary.

Fixes: #380
2025-04-28 14:36:25 -04:00
..
__init__.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
_test_examples.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_agent_transfer.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_async_tool_callbacks.py feat(llm_flows): support async before/after tool callbacks 2025-04-28 14:36:25 -04:00
test_functions_long_running.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_functions_request_euc.py feat(auth)!: expose access_token and refresh_token at top level of auth credentails 2025-04-22 15:23:21 -07:00
test_functions_sequential.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_functions_simple.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_identity.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_instructions.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_model_callbacks.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_other_configs.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00
test_tool_callbacks.py Moves unittests to root folder and adds github action to run unit tests. (#72) 2025-04-11 08:25:59 -07:00