From b10a8a7da57252e2d4193c4049cbddd9dd0ee84b Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Thu, 24 Apr 2025 09:03:49 +0200 Subject: [PATCH] fix: skip evaluation in verify_solution if no evaluator model specified --- aider_gitea/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..4484b64 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -387,6 +387,10 @@ def run_ollama_and_get_yes_or_no(cwd, initial_texts: list[str]) -> bool: def verify_solution(repository_path: Path, issue_content: str) -> bool: + if not EVALUATOR_MODEL: + logger.info('No evaluator model specified, skipping evaluation') + return True + summary = run_ollama( repository_path, [