diff --git a/aider_gitea/__init__.py b/aider_gitea/__init__.py index d50abdd..fae8771 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 + if not EVALUATOR_MODEL: + logger.info('No evaluator model specified, skipping evaluation') + return resolution + # Verify whether this is a satisfactory solution if verify_solution(repository_path, issue_content): return resolution diff --git a/aider_gitea/gitea_client.py b/aider_gitea/gitea_client.py index 0c2f8e6..7360e05 100644 --- a/aider_gitea/gitea_client.py +++ b/aider_gitea/gitea_client.py @@ -169,7 +169,9 @@ class GiteaClient: # If a pull request for this head/base already exists, return it instead of crashing if response.status_code == 409: logger.warning( - 'Pull request already exists for head %s and base %s', head, base, + 'Pull request already exists for head %s and base %s', + head, + base, ) prs = self.get_pull_requests(owner, repo) for pr in prs: