feat: Migrate vertex_ai_session_service to use Agent Engine SDK

PiperOrigin-RevId: 814967790
This commit is contained in:
Google Team Member
2025-10-03 22:14:23 -07:00
committed by Copybara-Service
parent 97b950b36b
commit d1efc8461e
3 changed files with 381 additions and 423 deletions
+2 -2
View File
@@ -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.get("GOOGLE_CLOUD_PROJECT", None)
location = os.environ.get("GOOGLE_CLOUD_LOCATION", None)
project = os.environ["GOOGLE_CLOUD_PROJECT"]
location = os.environ["GOOGLE_CLOUD_LOCATION"]
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