mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Move release notes offer after announcements in main function
This commit is contained in:
parent
b0c0104ba3
commit
c057b00e08
1 changed files with 4 additions and 4 deletions
|
@ -615,10 +615,6 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
is_first_run = is_first_run_of_new_version(io, verbose=args.verbose)
|
||||
check_and_load_imports(io, is_first_run, verbose=args.verbose)
|
||||
|
||||
if is_first_run:
|
||||
io.offer_url(urls.release_notes, "Would you like to see what's new in this version?")
|
||||
io.tool_output()
|
||||
|
||||
if args.anthropic_api_key:
|
||||
os.environ["ANTHROPIC_API_KEY"] = args.anthropic_api_key
|
||||
|
||||
|
@ -750,6 +746,10 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
|
||||
coder.show_announcements()
|
||||
|
||||
if is_first_run:
|
||||
io.offer_url(urls.release_notes, "Would you like to see what's new in this version?")
|
||||
io.tool_output()
|
||||
|
||||
if args.show_prompts:
|
||||
coder.cur_messages += [
|
||||
dict(role="user", content="Hello!"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue