fix: skip solution verification 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-23 23:19:13 +02:00
parent b596dead11
commit 684f815ba5

View File

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