@@ -195,16 +195,19 @@ def process_nat_eval(
195195 "have a partially completed dataset." )
196196
197197 # Create the configuration object
198- config = EvaluationRunConfig (
199- config_file = config_file ,
200- dataset = str (dataset ) if dataset else None ,
201- result_json_path = result_json_path ,
202- skip_workflow = skip_workflow ,
203- skip_completed_entries = skip_completed_entries ,
204- endpoint = endpoint ,
205- endpoint_timeout = endpoint_timeout ,
206- reps = reps ,
207- override = override ,
208- user_id = user_id ,
209- )
198+ # Only include user_id if explicitly provided via CLI, otherwise use the default
199+ config_kwargs = {
200+ "config_file" : config_file ,
201+ "dataset" : str (dataset ) if dataset else None ,
202+ "result_json_path" : result_json_path ,
203+ "skip_workflow" : skip_workflow ,
204+ "skip_completed_entries" : skip_completed_entries ,
205+ "endpoint" : endpoint ,
206+ "endpoint_timeout" : endpoint_timeout ,
207+ "reps" : reps ,
208+ "override" : override ,
209+ }
210+ if user_id is not None :
211+ config_kwargs ["user_id" ] = user_id
212+ config = EvaluationRunConfig (** config_kwargs )
210213 asyncio .run (run_and_evaluate (config ))
0 commit comments