catch 404s from azure on models.list

This commit is contained in:
Paul Gauthier 2023-12-07 07:44:21 -08:00
parent ad092152d0
commit cab7460f94
2 changed files with 9 additions and 2 deletions

View file

@ -30,7 +30,7 @@ from aider.coders import Coder
from aider.dump import dump # noqa: F401
from aider.io import InputOutput
BENCHMARK_DNAME = Path(os.environ["AIDER_BENCHMARK_DIR"])
BENCHMARK_DNAME = Path(os.environ.get("AIDER_BENCHMARK_DIR", "tmp.benchmarks"))
ORIGINAL_DNAME = BENCHMARK_DNAME / "exercism-python"