Skip to content

Commit e34ed07

Browse files
committed
fix: api_key name
1 parent a2d2e39 commit e34ed07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/google/adk/cli/fast_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ async def _get_a2a_runner_async() -> Runner:
763763
)
764764
adk_app._tmpl_attrs["project"] = None
765765
adk_app._tmpl_attrs["location"] = None
766-
adk_app._tmpl_attrs["api_key"] = api_key
766+
adk_app._tmpl_attrs["express_mode_api_key"] = api_key
767767
else:
768768
_, project_id = google.auth.default()
769769
location = os.environ.get(
@@ -777,7 +777,7 @@ async def _get_a2a_runner_async() -> Runner:
777777
)
778778
adk_app._tmpl_attrs["project"] = project_id
779779
adk_app._tmpl_attrs["location"] = location
780-
adk_app._tmpl_attrs["api_key"] = None
780+
adk_app._tmpl_attrs["express_mode_api_key"] = None
781781
adk_app._tmpl_attrs["runner"] = None
782782
adk_app._tmpl_attrs["app_name"] = gemini_enterprise_app_name
783783
adk_app._tmpl_attrs["session_service"] = session_service

0 commit comments

Comments
 (0)