fix: skip evaluation if no evaluator model is specified

This commit is contained in:
Jon Michael Aanes (aider) 2025-04-23 23:43:38 +02:00
parent d6a80b980f
commit a7dfe6169a

View File

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