From f265f91be2ac6bb368494e50bd872e1176400d15 Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Thu, 24 Apr 2025 10:01:55 +0200 Subject: [PATCH] fix: skip evaluation if no evaluator model is specified in solver --- aider_gitea/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..8cdbe70 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -472,6 +472,11 @@ def solve_issue_in_repository( if not resolution.success: return resolution + # Disable evaluation if no evaluator model is specified + if not EVALUATOR_MODEL: + # No evaluator model specified, skip evaluation + return resolution + # Verify whether this is a satisfactory solution if verify_solution(repository_path, issue_content): return resolution