fix: Catch switchcoder exception in run_commands

This commit is contained in:
Paul Gauthier 2024-12-26 09:57:07 -05:00 committed by Paul Gauthier (aider)
parent 79428cf4ed
commit befe6be86c

View file

@ -1309,6 +1309,7 @@ class Commands:
continue
self.io.tool_output(f"\nExecuting: {cmd}")
# catch switchcoder exception and print error that cmd is only supported with interactive /commands ai!
self.run(cmd)
def completions_raw_save(self, document, complete_event):