Fix weird loop
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 25s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 23s

This commit is contained in:
Jon Michael Aanes 2025-05-13 23:55:40 +02:00
parent 224e195726
commit 42937ece1b

View File

@ -170,7 +170,7 @@ EVALUATOR_MODEL = 'ollama/gemma3:27b'
MODEL_EDIT_MODES = { MODEL_EDIT_MODES = {
'ollama/qwen3:32b': 'diff', 'ollama/qwen3:32b': 'diff',
'ollama/hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q4_K_M': 'diff-fenced', 'ollama/hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q4_K_M': 'diff',
} }
@ -548,6 +548,17 @@ def solve_issues_in_repository(
issue_number, issue_number,
client, client,
) )
seen_issues_db.mark_as_seen(issue_url, str(issue_number))
seen_issues_db.update_pr_info(
issue_url,
issue_resolution.pull_request_id,
issue_resolution.pull_request_url,
)
logger.info(
'Stored PR #%s information for issue #%s',
issue_resolution.pull_request_id,
issue_number,
)
# TODO: PR comment handling disabled for now due to missing functionality # TODO: PR comment handling disabled for now due to missing functionality
if False: if False:
@ -570,17 +581,6 @@ def solve_issues_in_repository(
Path(repository_path), Path(repository_path),
client, client,
) )
seen_issues_db.mark_as_seen(issue_url, str(issue_number))
seen_issues_db.update_pr_info(
issue_url,
issue_resolution.pull_request_id,
issue_resolution.pull_request_url,
)
logger.info(
'Stored PR #%s information for issue #%s',
issue_resolution.pull_request_id,
issue_number,
)
def handle_pr_comments( def handle_pr_comments(