fix: skip evaluation if no evaluator model is specified
This commit is contained in:
parent
2904c5429b
commit
f1f1e42e7e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user