AIDER_BENCHMARK_DIR

This commit is contained in:
Paul Gauthier 2023-06-29 18:13:54 -07:00
parent ddac41f106
commit 417305a569
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -7,5 +7,6 @@ docker run \
-e OPENAI_API_KEY=$OPENAI_API_KEY \
-e HISTFILE=/aider/.bash_history \
-e AIDER_DOCKER=1 \
-e AIDER_BENCHMARK_DIR=/benchmarks \
aider-benchmark \
bash