fix: skip evaluation if no evaluator model is specified in solver
This commit is contained in:
parent
87646e5291
commit
f265f91be2
|
@ -472,6 +472,11 @@ def solve_issue_in_repository(
|
|||
if not resolution.success:
|
||||
return resolution
|
||||
|
||||
# Disable evaluation if no evaluator model is specified
|
||||
if not EVALUATOR_MODEL:
|
||||
# No evaluator model specified, skip evaluation
|
||||
return resolution
|
||||
|
||||
# Verify whether this is a satisfactory solution
|
||||
if verify_solution(repository_path, issue_content):
|
||||
return resolution
|
||||
|
|
Loading…
Reference in New Issue
Block a user