Compare commits

..

2 Commits

Author SHA1 Message Date
f43f0a5ef6 fix: skip evaluation if no evaluator model is specified
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 25s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s
2025-04-23 23:56:22 +02:00
04ea10d2b3 Initial ruff pass 2025-04-23 23:56:02 +02:00

View File

@ -472,11 +472,10 @@ def solve_issue_in_repository(
if not resolution.success:
return resolution
# Disable evaluation if no evaluator model is specified
# 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
# Verify whether this is a satisfactory solution
if verify_solution(repository_path, issue_content):
return resolution