Elffuss BraidHub

kikocis/auto-code-rover public

Disable agent invocation if there are locations
Changeset0c66e9b1061d900f41951ddd4c1d3342d73dcf02bcf90122dd92f647605b3cd4
AuthorMartin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 22:42 +08:00
CommitterMartin Mirchev <mirchevmartin2203@gmail.com> · 2024-07-18 22:42 +08:00
Parents56470e97eeb7

Browse the files at this changeset

1 file changed

modified app/inference.py +1 −1
@@ -265,7 +265,7 @@
265265 Path(output_dir, "fix_locations.json").write_text(
266266 json.dumps(all_locs, indent=4)
267267 )
268- try_generate_locs = True # all_locs != []
268+ try_generate_locs = all_locs != []
269269 log_msg = "Try outputing some locations still."
270270
271271 logger.info(f"Too many rounds. {log_msg}")