MCPcopy
hub / github.com/Aider-AI/aider / run

Method run

aider/coders/base_coder.py:876–892  ·  view source on GitHub ↗
(self, with_message=None, preproc=True)

Source from the content-addressed store, hash-verified

874 self.commit_before_message.append(self.repo.get_head_commit_sha())
875
876 def run(self, with_message=None, preproc=True):
877 try:
878 if with_message:
879 self.io.user_input(with_message)
880 self.run_one(with_message, preproc)
881 return self.partial_response_content
882 while True:
883 try:
884 if not self.io.placeholder:
885 self.copy_context()
886 user_message = self.get_input()
887 self.run_one(user_message, preproc)
888 self.show_undo_hint()
889 except KeyboardInterrupt:
890 self.keyboard_interrupt()
891 except EOFError:
892 return
893
894 def copy_context(self):
895 if self.auto_copy_context:

Callers 2

reply_completedMethod · 0.45
preproc_user_inputMethod · 0.45

Calls 6

run_oneMethod · 0.95
copy_contextMethod · 0.95
get_inputMethod · 0.95
show_undo_hintMethod · 0.95
keyboard_interruptMethod · 0.95
user_inputMethod · 0.80

Tested by

no test coverage detected