From 22a5961fea9faeeafd57f868197e500ea0f58890 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Wed, 23 Apr 2025 23:30:26 +0200 Subject: [PATCH] fix: skip evaluation if no evaluator model is specified in verify_solution --- aider_gitea/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..2f33267 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -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: + if not EVALUATOR_MODEL: + return True + summary = run_ollama( repository_path, [