Skip to content

Commit cb82208

Browse files
committed
Drop an unrelated file change from the branch
Reverting environment_variables.py in the previous commit checked it out from origin/next rather than the merge base, which pulled AGENT_COMMIT_SHA from another commit into this diff. This PR now touches only client.py and its test.
1 parent cfd98bb commit cb82208

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/agentex/lib/environment_variables.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class EnvVarKeys(str, Enum):
2525
AGENT_DESCRIPTION = "AGENT_DESCRIPTION"
2626
AGENT_ID = "AGENT_ID"
2727
AGENT_VERSION = "AGENT_VERSION"
28-
AGENT_COMMIT_SHA = "AGENT_COMMIT_SHA"
2928
AGENT_API_KEY = "AGENT_API_KEY"
3029
# ACP Configuration
3130
ACP_URL = "ACP_URL"
@@ -68,12 +67,6 @@ class EnvironmentVariables(BaseModel):
6867
AGENT_ID: str | None = None
6968
# Build/version discriminator (image tag or git sha), set by the deployment
7069
AGENT_VERSION: str | None = None
71-
# The agent's source commit, baked into the image or set by the deployment.
72-
# Unlike AGENT_VERSION this is expected to be a git SHA and nothing else, and
73-
# it is OPT-IN: nothing is stamped unless the agent calls
74-
# `adk.code_revision.enable()`, which also refuses a value that is not a git
75-
# object name. See agentex.lib.core.tracing.code_revision.
76-
AGENT_COMMIT_SHA: str | None = None
7770
AGENT_API_KEY: str | None = None
7871
ACP_TYPE: str | None = "async"
7972
AGENT_INPUT_TYPE: str | None = None

0 commit comments

Comments
 (0)