diff --git a/aider/coders/editblock_coder.py b/aider/coders/editblock_coder.py index 9e2e08b4b..0958533e4 100644 --- a/aider/coders/editblock_coder.py +++ b/aider/coders/editblock_coder.py @@ -440,7 +440,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 "".join(shell_content) + yield f"{shell_type}_command", "".join(shell_content) continue if cur in (DIVIDER, UPDATED):