mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
ask for confirmation
This commit is contained in:
parent
5032adf44b
commit
a405defcff
2 changed files with 4 additions and 5 deletions
|
@ -586,9 +586,9 @@ class Coder:
|
|||
)
|
||||
urls = url_pattern.findall(inp)
|
||||
for url in urls:
|
||||
self.io.tool_output(f"Adding {url} to the chat.")
|
||||
inp += "\n\n"
|
||||
inp += self.commands.cmd_web(url)
|
||||
if self.io.confirm_ask(f"Add {url} to the chat?"):
|
||||
inp += "\n\n"
|
||||
inp += self.commands.cmd_web(url)
|
||||
|
||||
return inp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue