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 64a40d8 commit 639e42eCopy full SHA for 639e42e
codeflash/lsp/beta.py
@@ -1,7 +1,6 @@
1
from __future__ import annotations
2
3
import contextlib
4
-import json
5
import os
6
from dataclasses import dataclass
7
from pathlib import Path
@@ -228,7 +227,7 @@ def perform_function_optimization(
228
227
"status": "success",
229
"message": "Optimization completed successfully",
230
"extra": f"Speedup: {original_code_baseline.runtime / best_optimization.runtime:.2f}x faster",
231
- "optimization": json.dumps(optimized_source, indent=None),
+ "optimization": optimized_source,
232
}
233
234
0 commit comments