Skip to content

Commit 081e695

Browse files
Fix field name for auth_config -> authConfig in calendar agent
1 parent 00e03d5 commit 081e695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/google_adk/calendar_agent/adk_agent_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def get_auth_config(
318318
) -> AuthConfig:
319319
"""Extracts the AuthConfig object from the arguments of the auth request function call."""
320320
if not auth_request_function_call.args or not (
321-
auth_config := auth_request_function_call.args.get('auth_config')
321+
auth_config := auth_request_function_call.args.get('authConfig')
322322
):
323323
raise ValueError(
324324
f'Cannot get auth config from function call: {auth_request_function_call}'

0 commit comments

Comments
 (0)