mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
refactor: Optimize model settings YAML generation by skipping default values
This commit is contained in:
parent
66025a06d5
commit
b31cf90596
1 changed files with 1 additions and 0 deletions
|
@ -1413,6 +1413,7 @@ def get_model_settings_as_yaml():
|
|||
|
||||
import yaml
|
||||
|
||||
# omit the keys if the value is the same as the default value for that key. ai!
|
||||
model_settings_list = []
|
||||
for ms in MODEL_SETTINGS:
|
||||
# Create dict with explicit field order
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue