From 684f815ba5ab34eee29d8109a73c828c1ea0d5f9 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Wed, 23 Apr 2025 23:19:13 +0200 Subject: [PATCH] fix: skip solution verification if no evaluator model is specified --- aider_gitea/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..18b72f9 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -472,7 +472,9 @@ def solve_issue_in_repository( if not resolution.success: return resolution - # Verify whether this is a satisfactory solution + # Verify whether this is a satisfactory solution (skip if no evaluator model) + if not EVALUATOR_MODEL: + return resolution if verify_solution(repository_path, issue_content): return resolution