mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-07 16:19:09 +00:00
fix(e2e): drop duplicate _ATTRIBUTION_RE from cherry-pick
The reviewer-misc pick re-added _ATTRIBUTION_RE next to _latest_attribution, but the constant was already defined at module top (line 57, alongside _PLAN_URL_RE) via the earlier #81 sync. Remove the redundant redefinition; _latest_attribution resolves the surviving top-level constant.
This commit is contained in:
parent
a29d387ac5
commit
9fd5d7b212
1 changed files with 0 additions and 1 deletions
|
|
@ -256,7 +256,6 @@ def _plan_complete_step(messages: list[BaseMessage]) -> AIMessage:
|
||||||
|
|
||||||
|
|
||||||
FOLLOW_UP_REPLY = "Thanks! The PR is ready for review — anything else you'd like changed?"
|
FOLLOW_UP_REPLY = "Thanks! The PR is ready for review — anything else you'd like changed?"
|
||||||
_ATTRIBUTION_RE = re.compile(r"@([A-Za-z0-9-]+):")
|
|
||||||
|
|
||||||
|
|
||||||
def _latest_attribution(messages: list[BaseMessage]) -> str | None:
|
def _latest_attribution(messages: list[BaseMessage]) -> str | None:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue