From a8ce6102d28fbca27e4d08072ac458ba96def937 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Thu, 24 Apr 2025 12:07:08 +0200 Subject: [PATCH] fix: return true early in verify_solution if no evaluator model is set --- 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, [