mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
override dotenv
This commit is contained in:
parent
277c8b32a7
commit
060c8ff89a
1 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,6 @@ 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
|
||||||
|
|
||||||
load_dotenv()
|
|
||||||
|
|
||||||
BENCHMARK_DNAME = Path(os.environ.get("AIDER_BENCHMARK_DIR", "tmp.benchmarks"))
|
BENCHMARK_DNAME = Path(os.environ.get("AIDER_BENCHMARK_DIR", "tmp.benchmarks"))
|
||||||
|
|
||||||
EXERCISES_DIR_DEFAULT = "exercism-python"
|
EXERCISES_DIR_DEFAULT = "exercism-python"
|
||||||
|
@ -39,6 +37,8 @@ app = typer.Typer(add_completion=False, pretty_exceptions_enable=False)
|
||||||
|
|
||||||
NUM_TESTS = (89, 133)
|
NUM_TESTS = (89, 133)
|
||||||
|
|
||||||
|
load_dotenv(override=True)
|
||||||
|
|
||||||
|
|
||||||
def show_stats(dirnames, graphs):
|
def show_stats(dirnames, graphs):
|
||||||
raw_rows = []
|
raw_rows = []
|
||||||
|
@ -590,7 +590,7 @@ def run_test_real(
|
||||||
|
|
||||||
coder.apply_updates()
|
coder.apply_updates()
|
||||||
else:
|
else:
|
||||||
response = coder.run(with_message=instructions)
|
response = coder.run(with_message=instructions, preproc=False)
|
||||||
dur += time.time() - start
|
dur += time.time() - start
|
||||||
|
|
||||||
if not no_aider:
|
if not no_aider:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue