mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
refactor: Move json import to top of file and remove unused import
This commit is contained in:
parent
c2b8522e9a
commit
a35c532211
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
import configparser
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
@ -510,8 +511,6 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
main_model = models.Model(args.model, weak_model=args.weak_model)
|
||||
|
||||
if args.verbose:
|
||||
import json
|
||||
|
||||
io.tool_output("Model info:")
|
||||
io.tool_output(json.dumps(main_model.info, indent=4))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue