mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
feat: Add verbose mode to display model info
This commit is contained in:
parent
6fb3416757
commit
f4adc09277
1 changed files with 5 additions and 0 deletions
|
@ -474,6 +474,11 @@ 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)
|
main_model = models.Model(args.model, weak_model=args.weak_model)
|
||||||
|
|
||||||
|
if args.verbose:
|
||||||
|
io.tool_output("Model info:")
|
||||||
|
for key, value in main_model.info.items():
|
||||||
|
io.tool_output(f" {key}: {value}")
|
||||||
|
|
||||||
lint_cmds = parse_lint_cmds(args.lint_cmd, io)
|
lint_cmds = parse_lint_cmds(args.lint_cmd, io)
|
||||||
if lint_cmds is None:
|
if lint_cmds is None:
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue