mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
fix: remove duplicate detect_urls parameter and add to coder initialization
This commit is contained in:
parent
21bb83c55a
commit
a79ce7a151
2 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,6 @@ class Coder:
|
|||
suggest_shell_commands=True,
|
||||
chat_language=None,
|
||||
detect_urls=True,
|
||||
detect_urls=True,
|
||||
):
|
||||
# Fill in a dummy Analytics if needed, but it is never .enable()'d
|
||||
self.analytics = analytics if analytics is not None else Analytics()
|
||||
|
|
|
@ -751,6 +751,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
num_cache_warming_pings=args.cache_keepalive_pings,
|
||||
suggest_shell_commands=args.suggest_shell_commands,
|
||||
chat_language=args.chat_language,
|
||||
detect_urls=args.detect_urls,
|
||||
)
|
||||
except ValueError as err:
|
||||
io.tool_error(str(err))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue