From f0fc83372b37289e1cd9a0c77d081718885a5039 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 25 Jan 2025 08:38:19 -0800 Subject: [PATCH] refactor: Reorder YAML output to prioritize "name" field and add spacing --- aider/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/models.py b/aider/models.py index 6b406e53f..a7a6d51c4 100644 --- a/aider/models.py +++ b/aider/models.py @@ -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 = {