fix: skip evaluation if no evaluator model is specified
This commit is contained in:
parent
04ea10d2b3
commit
f43f0a5ef6
|
@ -472,7 +472,10 @@ def solve_issue_in_repository(
|
||||||
if not resolution.success:
|
if not resolution.success:
|
||||||
return resolution
|
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:
|
||||||
|
logger.info('Skipping evaluation because no evaluator model specified')
|
||||||
|
return resolution
|
||||||
if verify_solution(repository_path, issue_content):
|
if verify_solution(repository_path, issue_content):
|
||||||
return resolution
|
return resolution
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user