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 545b8ed commit 9857c33Copy full SHA for 9857c33
codeflash/optimization/function_optimizer.py
@@ -364,7 +364,7 @@ def determine_best_candidate(
364
# Start a new thread for AI service request, start loop in main thread
365
# check if aiservice request is complete, when it is complete, append result to the candidates list
366
with concurrent.futures.ThreadPoolExecutor(max_workers=2) as executor:
367
- ai_service_client = self.local_aiservice_client if self.experiment_id else self.aiservice_client
+ ai_service_client = self.aiservice_client if exp_type=="EXP0" else self.local_aiservice_client
368
future_line_profile_results = executor.submit(
369
ai_service_client.optimize_python_code_line_profiler,
370
source_code=code_context.read_writable_code,
0 commit comments