Skip to content

Commit 3a8b7c5

Browse files
zimegClaude
andcommitted
fix: hide only each implementation's own provider variables from commands
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
1 parent 71cfc29 commit 3a8b7c5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎claude-agent-sdk/agent/workspace.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Environment variables kept from the app's environment are everything except
1010
# the app's own tokens and anything that looks like a credential, so they aren't
1111
# passed to a command from the repository.
12-
SECRET_PREFIXES = ("ANTHROPIC_", "OPENAI_", "SLACK_")
12+
SECRET_PREFIXES = ("ANTHROPIC_", "SLACK_")
1313
SECRET_MARKERS = ("API_KEY", "CREDENTIAL", "PASSWORD", "PRIVATE_KEY", "SECRET", "TOKEN")
1414

1515
# git never waits on a prompt or an editor, since nobody can answer one.

‎openai-agents-sdk/agent/workspace.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Environment variables kept from the app's environment are everything except
1010
# the app's own tokens and anything that looks like a credential, so they aren't
1111
# passed to a command from the repository.
12-
SECRET_PREFIXES = ("ANTHROPIC_", "OPENAI_", "SLACK_")
12+
SECRET_PREFIXES = ("OPENAI_", "SLACK_")
1313
SECRET_MARKERS = ("API_KEY", "CREDENTIAL", "PASSWORD", "PRIVATE_KEY", "SECRET", "TOKEN")
1414

1515
# git never waits on a prompt or an editor, since nobody can answer one.

0 commit comments

Comments
 (0)