Disable evaluation if no evaluator model is specified #107

Closed
Jmaa wants to merge 2 commits from issue-96-disable-evaluation-if-no-evaluator-model-is-specified into main
Showing only changes of commit f1f1e42e7e - Show all commits

View File

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