1616from  codeflash .benchmarking .utils  import  print_benchmark_table , validate_and_format_benchmark_table 
1717from  codeflash .cli_cmds .console  import  console , logger , progress_bar 
1818from  codeflash .code_utils  import  env_utils 
19- from  codeflash .code_utils .checkpoint  import  CodeflashRunCheckpoint ,  ask_should_use_checkpoint_get_functions 
19+ from  codeflash .code_utils .checkpoint  import  CodeflashRunCheckpoint 
2020from  codeflash .code_utils .code_replacer  import  normalize_code , normalize_node 
2121from  codeflash .code_utils .code_utils  import  cleanup_paths , get_run_tmp_file 
2222from  codeflash .code_utils .static_analysis  import  analyze_imported_modules , get_first_top_level_function_or_method_ast 
@@ -85,7 +85,6 @@ def run(self) -> None:
8585        function_optimizer  =  None 
8686        file_to_funcs_to_optimize : dict [Path , list [FunctionToOptimize ]]
8787        num_optimizable_functions : int 
88-         previous_checkpoint_functions  =  ask_should_use_checkpoint_get_functions (self .args )
8988        # discover functions 
9089        (file_to_funcs_to_optimize , num_optimizable_functions ) =  get_functions_to_optimize (
9190            optimize_all = self .args .all ,
@@ -96,7 +95,7 @@ def run(self) -> None:
9695            ignore_paths = self .args .ignore_paths ,
9796            project_root = self .args .project_root ,
9897            module_root = self .args .module_root ,
99-             previous_checkpoint_functions = previous_checkpoint_functions ,
98+             previous_checkpoint_functions = self . args . previous_checkpoint_functions ,
10099        )
101100        function_benchmark_timings : dict [str , dict [BenchmarkKey , int ]] =  {}
102101        total_benchmark_timings : dict [BenchmarkKey , int ] =  {}
0 commit comments