kikocis/auto-code-rover public
Changesets · Branches · Tags · Compare
| Changeset | 29a1aff24b35b2af3816c82ae2f369d19af6ebfdf359d301ddc25dd8ae08652a |
|---|---|
| Author | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 14:07 +08:00 |
| Committer | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 14:07 +08:00 |
| Parents | 89062220fbe2 |
1 file changed
modified app/inference.py +6 −2
| @@ -176,8 +176,12 @@ | ||
| 176 | 176 | msg_thread.add_user(collated_tool_response) |
| 177 | 177 | |
| 178 | 178 | if globals.disable_patch_generation: |
| 179 | - logger.debug("Gathered enough information. Skipping patch generation due to feature flag.") | |
| 180 | - Path(output_dir, "fix_locations.json").write_text(json.dumps(buggy_locations, indent=4)) | |
| 179 | + logger.debug( | |
| 180 | + "Gathered enough information. Skipping patch generation due to feature flag." | |
| 181 | + ) | |
| 182 | + Path(output_dir, "fix_locations.json").write_text( | |
| 183 | + json.dumps(buggy_locations, indent=4) | |
| 184 | + ) | |
| 181 | 185 | else: |
| 182 | 186 | print_banner("PATCH GENERATION") |
| 183 | 187 | logger.debug("Gathered enough information. Invoking write_patch.") |