mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
refactor: read io.py source file in mdstream.py main block
This commit is contained in:
parent
fad230c02e
commit
9c2c05ad44
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ class MarkdownStream:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
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
|
_text = _text_prefix + code + _text_suffix
|
||||||
|
|
||||||
pm = MarkdownStream()
|
pm = MarkdownStream()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue