refac/enh: add performance indexes

Co-Authored-By: decent-engineer-decent-datascientist <77806775+decent-engineer-decent-datascientist@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2025-08-19 03:24:10 +04:00
parent 96643f5b6d
commit b3a95f40fc
5 changed files with 71 additions and 3 deletions

View File

@@ -76,6 +76,7 @@ def get_async_tool_function_and_apply_extra_params(
# https://github.com/googleapis/python-genai/issues/907
async def new_function(*args, **kwargs):
return await partial_func(*args, **kwargs)
else:
# Make it a coroutine function when it is not already
async def new_function(*args, **kwargs):