We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836f216 commit cf2ec4dCopy full SHA for cf2ec4d
codeflash/optimization/function_optimizer.py
@@ -1124,7 +1124,7 @@ def find_and_process_best_optimization(
1124
new_explanation_raw_str = self.aiservice_client.get_new_explanation(
1125
source_code=code_context.read_writable_code,
1126
dependency_code=code_context.read_only_context_code,
1127
- trace_id=self.function_trace_id[:-4] + exp_type,
+ trace_id=self.function_trace_id[:-4] + exp_type if self.experiment_id else self.function_trace_id,
1128
optimized_code=best_optimization.candidate.source_code,
1129
original_line_profiler_results=original_code_baseline.line_profile_results["str_out"],
1130
optimized_line_profiler_results=best_optimization.line_profiler_test_results["str_out"],
0 commit comments