Disable evaluation if no evaluator model is specified #108

Merged
Jmaa merged 1 commits from issue-96-disable-evaluation-if-no-evaluator-model-is-specified into main 2025-04-24 10:08:21 +00:00

View File

@ -387,6 +387,9 @@ def run_ollama_and_get_yes_or_no(cwd, initial_texts: list[str]) -> bool:
def verify_solution(repository_path: Path, issue_content: str) -> bool: def verify_solution(repository_path: Path, issue_content: str) -> bool:
if not EVALUATOR_MODEL:
return True
summary = run_ollama( summary = run_ollama(
repository_path, repository_path,
[ [