File tree Expand file tree Collapse file tree
code_assistant_manager/tools Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments