Skip to content

Commit d1efc84

Browse files
google-genai-botcopybara-github
authored andcommitted
feat: Migrate vertex_ai_session_service to use Agent Engine SDK
PiperOrigin-RevId: 814967790
1 parent 97b950b commit d1efc84

3 files changed

Lines changed: 384 additions & 426 deletions

File tree

src/google/adk/cli/fast_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ def _parse_agent_engine_resource_name(agent_engine_id_or_resource_name):
105105
agent_engine_id = agent_engine_id_or_resource_name.split("/")[-1]
106106
else:
107107
envs.load_dotenv_for_agent("", agents_dir)
108-
project = os.environ.get("GOOGLE_CLOUD_PROJECT", None)
109-
location = os.environ.get("GOOGLE_CLOUD_LOCATION", None)
108+
project = os.environ["GOOGLE_CLOUD_PROJECT"]
109+
location = os.environ["GOOGLE_CLOUD_LOCATION"]
110110
agent_engine_id = agent_engine_id_or_resource_name
111111
return project, location, agent_engine_id
112112

0 commit comments

Comments
 (0)