fix: skip solution evaluation if no evaluator model is specified
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 25s
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 00:33:37 +02:00
parent 3e47dd79e6
commit 3e80e527d3

View File

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