Skip to content

Commit 4878c6c

Browse files
committed
feat: Add CLAUDE_CODE_ATTRIBUTION_HEADER=0 to disable attribution headers
1 parent 54fb4ba commit 4878c6c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

code_assistant_manager/tools/claude.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def run(self, args: List[str] = None) -> int:
5555
.set_multiple_models({"CLAUDE_MODELS": "primary_model,secondary_model"})
5656
.set_custom_var("DISABLE_NON_ESSENTIAL_MODEL_CALLS", "1")
5757
.set_custom_var("CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC", "1")
58+
.set_custom_var("CLAUDE_CODE_ATTRIBUTION_HEADER", "0")
5859
.set_node_tls_reject_unauthorized()
5960
)
6061
env = env_builder.build()
@@ -75,7 +76,8 @@ def run(self, args: List[str] = None) -> int:
7576
f"ANTHROPIC_SMALL_FAST_MODEL={secondary_model} "
7677
f"ANTHROPIC_DEFAULT_HAIKU_MODEL={primary_model} "
7778
f"DISABLE_NON_ESSENTIAL_MODEL_CALLS=1 "
78-
f"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 {command_str}"
79+
f"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 "
80+
f"CLAUDE_CODE_ATTRIBUTION_HEADER=0 {command_str}"
7981
)
8082
print("")
8183
return self._run_tool_with_env(command, env, "claude", interactive=True)

0 commit comments

Comments
 (0)