Skip to content

Commit

Permalink
use get_diff_with_prompts for editing code
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Sep 5, 2024
1 parent 8334e4d commit 408d308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/tools/meta_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def replacer(match: re.Match) -> str:

artifacts[name] = new_code

diff = get_diff(code, new_code)
diff = get_diff_with_prompts(name, code, new_code)
print(diff)
return diff

Expand Down

0 comments on commit 408d308

Please sign in to comment.