fix: skip solution verification if no evaluator model is specified
This commit is contained in:
parent
e34bc51fbe
commit
af007f7165
|
@ -387,6 +387,11 @@ def run_ollama_and_get_yes_or_no(cwd, initial_texts: list[str]) -> bool:
|
|||
|
||||
|
||||
def verify_solution(repository_path: Path, issue_content: str) -> bool:
|
||||
# Skip evaluation if no evaluator model specified
|
||||
if not EVALUATOR_MODEL:
|
||||
logger.info('Skipping solution verification; no evaluator model specified')
|
||||
return True
|
||||
|
||||
summary = run_ollama(
|
||||
repository_path,
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue
Block a user