Skip to content

Commit 6af7d4c

Browse files
committed
Update beta.py
1 parent 422339a commit 6af7d4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codeflash/lsp/beta.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ def third_step_in_optimize_function(server: CodeflashLanguageServer, params: Opt
147147
"message": f"No best optimizations found for function {function_to_optimize_qualified_name}",
148148
}
149149

150+
optimized_source = best_optimization.candidate.source_code # noqa: F841
151+
150152
return {
151153
"functionName": params.functionName,
152154
"status": "success",

0 commit comments

Comments
 (0)