mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
feat: Add verbose output for loaded and searched YAML files
This commit is contained in:
parent
8323d992a9
commit
001466b01f
1 changed files with 7 additions and 0 deletions
|
@ -260,10 +260,17 @@ def register_models(git_root, model_settings_fname, io):
|
|||
io.tool_output(f"Loaded {len(files_loaded)} model settings file(s)")
|
||||
for file_loaded in files_loaded:
|
||||
io.tool_output(f" - {file_loaded}") # noqa: E221
|
||||
elif args.verbose:
|
||||
io.tool_output("No model settings files loaded")
|
||||
except Exception as e:
|
||||
io.tool_error(f"Error loading aider model settings: {e}")
|
||||
return 1
|
||||
|
||||
if args.verbose:
|
||||
io.tool_output("Searched for model settings files:")
|
||||
for file in model_settings_files:
|
||||
io.tool_output(f" - {file}")
|
||||
|
||||
return None
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue