From 2fb16b812a06ce00dba20e47134ee619ce7ae7bf Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Thu, 24 Apr 2025 08:50:57 +0200 Subject: [PATCH] fix: skip evaluation if no evaluator model is specified --- aider_gitea/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..bedacbd 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -472,8 +472,8 @@ def solve_issue_in_repository( if not resolution.success: return resolution - # Verify whether this is a satisfactory solution - if verify_solution(repository_path, issue_content): + # Verify whether this is a satisfactory solution (skipped if no evaluator model) + if not EVALUATOR_MODEL or verify_solution(repository_path, issue_content): return resolution