fix: Remove unnecessary metadata from EditBlockCoder

This commit is contained in:
Paul Gauthier 2024-08-20 13:31:13 -07:00 committed by Paul Gauthier (aider)
parent a0f9989f1c
commit c4855c84da

View file

@ -429,7 +429,7 @@ def find_original_update_blocks(content, fence=DEFAULT_FENCE):
if pieces and pieces[-1].strip().startswith("```"):
pieces.pop() # Remove the closing ```
shell_type = cur.strip().split("```")[1]
yield f"{shell_type}_command", "".join(shell_content), ""
yield "".join(shell_content)
continue
if cur in (DIVIDER, UPDATED):