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 a4b12b4 commit d23c739Copy full SHA for d23c739
myserver.py
@@ -23,7 +23,7 @@ def optimize_code(file: str, function: str) -> str:
23
cwd = Path(file).resolve().parent
24
status = run_codeflash_command(cwd, config, expected_improvement_pct=5)
25
if status:
26
- "Optimization Successful, file has been edited"
+ return "Optimization Successful, file has been edited"
27
else:
28
return "Codeflash run did not meet expected requirements for testing, reverting file changes."
29
0 commit comments