mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Renamed .aider.model... files
This commit is contained in:
parent
b64d6c187b
commit
9d66cdecda
3 changed files with 6 additions and 6 deletions
|
@ -142,13 +142,13 @@ def get_parser(default_config_files, git_root):
|
|||
group.add_argument(
|
||||
"--model-settings-file",
|
||||
metavar="MODEL_SETTINGS_FILE",
|
||||
default=None,
|
||||
default=".aider.model.settings.yml",
|
||||
help="Specify a file with aider model settings for unknown models",
|
||||
)
|
||||
group.add_argument(
|
||||
"--model-metadata-file",
|
||||
metavar="MODEL_METADATA_FILE",
|
||||
default=None,
|
||||
default=".aider.model.metadata.json",
|
||||
help="Specify a file with context window and costs for unknown models",
|
||||
)
|
||||
group.add_argument(
|
||||
|
|
|
@ -231,7 +231,7 @@ def generate_search_path_list(default_fname, git_root, command_line_file):
|
|||
|
||||
def register_models(git_root, model_settings_fname, io):
|
||||
model_settings_files = generate_search_path_list(
|
||||
".aider.models.yml", git_root, model_settings_fname
|
||||
".aider.model.settings.yml", git_root, model_settings_fname
|
||||
)
|
||||
|
||||
try:
|
||||
|
@ -249,7 +249,7 @@ def register_models(git_root, model_settings_fname, io):
|
|||
|
||||
def register_litellm_models(git_root, model_metadata_fname, io):
|
||||
model_metatdata_files = generate_search_path_list(
|
||||
".aider.llm.models.json", git_root, model_metadata_fname
|
||||
".aider.model.metadata.json", git_root, model_metadata_fname
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
|
@ -12,7 +12,7 @@ In most cases, you can safely ignore aider's warning about unknown context
|
|||
window size and model costs.
|
||||
|
||||
But, you can register context window limits and costs for models that aren't known
|
||||
to aider. Create a `.aider.litellm.models.json` file in one of these locations:
|
||||
to aider. Create a `.aider.model.metadata.json` file in one of these locations:
|
||||
|
||||
- Your home directory.
|
||||
- The root if your git repo.
|
||||
|
@ -51,7 +51,7 @@ But it can sometimes be helpful to override them or add settings for
|
|||
a model that aider doesn't know about.
|
||||
|
||||
To do that,
|
||||
create a `.aider.models.yml` file in one of these locations:
|
||||
create a `.aider.model.settings.yml` file in one of these locations:
|
||||
|
||||
- Your home directory.
|
||||
- The root if your git repo.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue