Compare commits
2 Commits
b10a8a7da5
...
2fb16b812a
Author | SHA1 | Date | |
---|---|---|---|
2fb16b812a | |||
3a1a4935f6 |
|
@ -472,8 +472,8 @@ def solve_issue_in_repository(
|
||||||
if not resolution.success:
|
if not resolution.success:
|
||||||
return resolution
|
return resolution
|
||||||
|
|
||||||
# Verify whether this is a satisfactory solution
|
# Verify whether this is a satisfactory solution (skipped if no evaluator model)
|
||||||
if verify_solution(repository_path, issue_content):
|
if not EVALUATOR_MODEL or verify_solution(repository_path, issue_content):
|
||||||
return resolution
|
return resolution
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,9 @@ class GiteaClient:
|
||||||
# If a pull request for this head/base already exists, return it instead of crashing
|
# If a pull request for this head/base already exists, return it instead of crashing
|
||||||
if response.status_code == 409:
|
if response.status_code == 409:
|
||||||
logger.warning(
|
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)
|
prs = self.get_pull_requests(owner, repo)
|
||||||
for pr in prs:
|
for pr in prs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user