fix: skip evaluation if no evaluator model is specified
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 24s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes (aider) 2025-04-24 08:50:57 +02:00
parent 3a1a4935f6
commit 2fb16b812a

View File

@ -472,8 +472,8 @@ def solve_issue_in_repository(
if not resolution.success: if not resolution.success:
return resolution return resolution
# Verify whether this is a satisfactory solution # Verify whether this is a satisfactory solution (skipped if no evaluator model)
if verify_solution(repository_path, issue_content): if not EVALUATOR_MODEL or verify_solution(repository_path, issue_content):
return resolution return resolution