refactor: read io.py source file in mdstream.py main block

This commit is contained in:
Paul Gauthier (aider) 2025-01-07 06:42:48 -08:00
parent fad230c02e
commit 9c2c05ad44

View file

@ -167,7 +167,8 @@ class MarkdownStream:
if __name__ == "__main__":
code = # read aider.io's source file. ai!
with open("aider/io.py", "r") as f:
code = f.read()
_text = _text_prefix + code + _text_suffix
pm = MarkdownStream()