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 11:59:13 +02:00
parent 2904c5429b
commit f1f1e42e7e

View File

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