We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4e00b commit 70ce1ffCopy full SHA for 70ce1ff
src/agentex/lib/utils/registration.py
@@ -20,7 +20,7 @@ def get_auth_principal(env_vars: EnvironmentVariables):
20
except Exception:
21
return None
22
23
-def get_build_info(env_vars: EnvironmentVariables):
+def get_build_info():
24
build_info_path = os.environ.get("BUILD_INFO_PATH")
25
logger.info(f"Getting build info from {build_info_path}")
26
if not build_info_path:
@@ -51,7 +51,7 @@ async def register_agent(env_vars: EnvironmentVariables):
51
"acp_url": full_acp_url,
52
"acp_type": env_vars.ACP_TYPE,
53
"principal_context": get_auth_principal(env_vars),
54
- "registration_metadata": get_build_info(env_vars)
+ "registration_metadata": get_build_info()
55
}
56
57
if env_vars.AGENT_ID:
0 commit comments