From 49bb3be25f2bc2005bc045397e73a74dc822e7ac Mon Sep 17 00:00:00 2001 From: "Jon Michael Aanes (aider)" Date: Thu, 24 Apr 2025 11:46:46 +0200 Subject: [PATCH] fix: skip evaluation if no evaluator model is specified in solve_issue_in_repository --- aider_gitea/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..8819c69 100644 --- a/aider_gitea/__init__.py +++ b/aider_gitea/__init__.py @@ -472,6 +472,9 @@ def solve_issue_in_repository( if not resolution.success: return resolution + # If no evaluator model is specified, skip evaluation and accept resolution + if not EVALUATOR_MODEL: + return resolution # Verify whether this is a satisfactory solution if verify_solution(repository_path, issue_content): return resolution