refactor: Reorder YAML output to prioritize "name" field and add spacing

This commit is contained in:
Paul Gauthier 2025-01-25 08:38:19 -08:00 committed by Paul Gauthier (aider)
parent 081504edab
commit f0fc83372b

View file

@ -1410,6 +1410,7 @@ def print_matching_models(io, search):
def get_model_settings_as_yaml():
import yaml
# I want the "name" field to be the first entry in each list; i want a blank line between list entries. ai!
model_settings_list = []
for ms in MODEL_SETTINGS:
model_settings_dict = {