9 lines
346 B
Python
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.
|