fix: Update litellm_path to correctly locate JSON file

This commit is contained in:
Paul Gauthier 2025-04-20 10:59:59 -07:00 committed by Paul Gauthier (aider)
parent 7bde345b83
commit 19a94e5f15

View file

@ -6,7 +6,7 @@ from pathlib import Path
def main():
script_dir = Path(__file__).parent.resolve()
litellm_path = script_dir / "../litellm/model_prices_and_context_window.json"
litellm_path = script_dir / "../../litellm/model_prices_and_context_window.json"
aider_path = script_dir / "../aider/resources/model-metadata.json"
if not litellm_path.exists():