mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
noop
This commit is contained in:
parent
1ccc83f097
commit
ca6349069c
1 changed files with 17 additions and 17 deletions
|
@ -439,6 +439,23 @@ class Coder:
|
||||||
except EOFError:
|
except EOFError:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
def run_loop(self):
|
||||||
|
inp = self.io.get_input(
|
||||||
|
self.root,
|
||||||
|
self.get_inchat_relative_files(),
|
||||||
|
self.get_addable_relative_files(),
|
||||||
|
self.commands,
|
||||||
|
)
|
||||||
|
|
||||||
|
if not inp:
|
||||||
|
return
|
||||||
|
|
||||||
|
if self.commands.is_command(inp):
|
||||||
|
return self.commands.run(inp)
|
||||||
|
|
||||||
|
self.check_for_file_mentions(inp)
|
||||||
|
return inp
|
||||||
|
|
||||||
def keyboard_interrupt(self):
|
def keyboard_interrupt(self):
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
||||||
|
@ -494,23 +511,6 @@ class Coder:
|
||||||
]
|
]
|
||||||
self.cur_messages = []
|
self.cur_messages = []
|
||||||
|
|
||||||
def run_loop(self):
|
|
||||||
inp = self.io.get_input(
|
|
||||||
self.root,
|
|
||||||
self.get_inchat_relative_files(),
|
|
||||||
self.get_addable_relative_files(),
|
|
||||||
self.commands,
|
|
||||||
)
|
|
||||||
|
|
||||||
if not inp:
|
|
||||||
return
|
|
||||||
|
|
||||||
if self.commands.is_command(inp):
|
|
||||||
return self.commands.run(inp)
|
|
||||||
|
|
||||||
self.check_for_file_mentions(inp)
|
|
||||||
return inp
|
|
||||||
|
|
||||||
def fmt_system_prompt(self, prompt):
|
def fmt_system_prompt(self, prompt):
|
||||||
prompt = prompt.format(fence=self.fence)
|
prompt = prompt.format(fence=self.fence)
|
||||||
return prompt
|
return prompt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue