Compare commits

..

2 Commits

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

View File

@ -472,10 +472,11 @@ def solve_issue_in_repository(
if not resolution.success: if not resolution.success:
return resolution return resolution
# Verify whether this is a satisfactory solution (skip if no evaluator model) # Disable evaluation if no evaluator model is specified
if not EVALUATOR_MODEL: if not EVALUATOR_MODEL:
logger.info('Skipping evaluation because no evaluator model specified')
return resolution return resolution
# 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