mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: Migrate vertex_ai_session_service to use Agent Engine SDK
PiperOrigin-RevId: 814948921
This commit is contained in:
committed by
Copybara-Service
parent
960eda3d1f
commit
97b950b36b
@@ -105,8 +105,8 @@ def get_fast_api_app(
|
||||
agent_engine_id = agent_engine_id_or_resource_name.split("/")[-1]
|
||||
else:
|
||||
envs.load_dotenv_for_agent("", agents_dir)
|
||||
project = os.environ["GOOGLE_CLOUD_PROJECT"]
|
||||
location = os.environ["GOOGLE_CLOUD_LOCATION"]
|
||||
project = os.environ.get("GOOGLE_CLOUD_PROJECT", None)
|
||||
location = os.environ.get("GOOGLE_CLOUD_LOCATION", None)
|
||||
agent_engine_id = agent_engine_id_or_resource_name
|
||||
return project, location, agent_engine_id
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user