mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
style: auto-fix linting issues
This commit is contained in:
parent
d5be3e1a64
commit
afc9673533
1 changed files with 1 additions and 3 deletions
|
|
@ -261,9 +261,7 @@ You MUST output the target file. You may also output helper files if you optimiz
|
|||
# Fallback case: LLM ignored multi-file instructions and returned single block
|
||||
# Wrap with the target file path (first file in original input)
|
||||
target_file_path = list(original_file_to_code.keys())[0]
|
||||
logging.info(
|
||||
"Multi-file fallback: LLM returned single block, wrapping with target path: %s", target_file_path
|
||||
)
|
||||
logging.info("Multi-file fallback: LLM returned single block, wrapping with target path: %s", target_file_path)
|
||||
wrapped_code = (
|
||||
f"```{code_block_tag}:{target_file_path}\n{optimized_code}\n```"
|
||||
if not optimized_code.endswith("\n")
|
||||
|
|
|
|||
Loading…
Reference in a new issue