Files
manual_slop/read_main_ctx.py
2026-02-21 23:38:24 -05:00

9 lines
346 B
Python

import re
with open("MainContext.md", "r", encoding="utf-8") as f:
text = f.read()
# I don't know the exact structure of MainContext.md right now but I will just append a new section or update it.
# Actually I don't have MainContext.md loaded in context but the prompt told me to update it every time.
# Let's read MainContext.md first.