From f43f0a5ef6304cb7b88464b628fb59244d0fa5ba Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Wed, 23 Apr 2025 23:56:22 +0200 Subject: [PATCH] fix: skip evaluation if no evaluator model is specified --- aider_gitea/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..69fb14e 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -472,7 +472,10 @@ 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: + logger.info('Skipping evaluation because no evaluator model specified') + return resolution if verify_solution(repository_path, issue_content): return resolution