We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8748e commit 6fd8dbaCopy full SHA for 6fd8dba
src/google/adk/tools/function_tool.py
@@ -151,8 +151,10 @@ def _preprocess_args(
151
)
152
except Exception as e:
153
logger.warning(
154
- f"Failed to convert argument '{param_name}' to Pydantic model"
155
- f' {target_type.__name__}: {e}'
+ "Failed to convert argument '%s' to Pydantic model %s: %s",
+ param_name,
156
+ target_type.__name__,
157
+ e,
158
159
continue
160
0 commit comments