feat: increase retry timeout for benchmarking

This commit is contained in:
Paul Gauthier 2024-12-11 14:26:28 -08:00 committed by Paul Gauthier (aider)
parent ae3235b099
commit 4dc3b9072e

View file

@ -24,8 +24,8 @@ from dotenv import load_dotenv
from plots import plot_refactoring
from rich.console import Console
from aider import models
from aider.coders import Coder
from aider import models, sendchat
from aider.coders import Coder, base_coder
from aider.dump import dump # noqa: F401
from aider.io import InputOutput
@ -270,6 +270,11 @@ def main(
if num_tests > 0:
test_dnames = test_dnames[:num_tests]
# Don't give up when benchmarking
LONG_TIMEOUT = 24 * 60 * 60
sendchat.RETRY_TIMEOUT = LONG_TIMEOUT
base_coder.RETRY_TIMEOUT = LONG_TIMEOUT
if threads == 1:
all_results = []
for testname in test_dnames: