mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
AIDER_BENCHMARK_DIR
This commit is contained in:
parent
ddac41f106
commit
417305a569
2 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,7 @@ from aider.coders import Coder
|
||||||
from aider.dump import dump # noqa: F401
|
from aider.dump import dump # noqa: F401
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
|
|
||||||
BENCHMARK_DNAME = Path("/benchmarks")
|
BENCHMARK_DNAME = Path(os.environ["AIDER_BENCHMARK_DIR"])
|
||||||
|
|
||||||
ORIGINAL_DNAME = BENCHMARK_DNAME / "exercism-python"
|
ORIGINAL_DNAME = BENCHMARK_DNAME / "exercism-python"
|
||||||
|
|
||||||
|
|
|
@ -7,5 +7,6 @@ docker run \
|
||||||
-e OPENAI_API_KEY=$OPENAI_API_KEY \
|
-e OPENAI_API_KEY=$OPENAI_API_KEY \
|
||||||
-e HISTFILE=/aider/.bash_history \
|
-e HISTFILE=/aider/.bash_history \
|
||||||
-e AIDER_DOCKER=1 \
|
-e AIDER_DOCKER=1 \
|
||||||
|
-e AIDER_BENCHMARK_DIR=/benchmarks \
|
||||||
aider-benchmark \
|
aider-benchmark \
|
||||||
bash
|
bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue