agent-zero-core / patch_manager.py
Tsitsi19's picture
Update patch_manager.py
8b2f096 verified
raw
history blame contribute delete
170 Bytes
def prepare_patch(code):
return code
def apply_patch(target_file, code):
with open(target_file, "w", encoding="utf8") as f:
f.write(code)
return True