From a7dfe6169a1fc9e7b8f302e3d9d0f6b358ee84df Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Wed, 23 Apr 2025 23:43:38 +0200 Subject: [PATCH] fix: skip evaluation if no evaluator model is 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..78e6c5b 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -472,6 +472,10 @@ def solve_issue_in_repository( if not resolution.success: return resolution + # Disable evaluation if no evaluator model is specified + if not EVALUATOR_MODEL: + return resolution + # Verify whether this is a satisfactory solution if verify_solution(repository_path, issue_content): return resolution