mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
fix: include Agent Shin marker in low-quality PR close comment
The close comment in close_low_quality_prs.py directs users to comment
'@agent-shin reconsider', but lacked the AGENT_SHIN_AUTO_CLOSE_MARKER
('I'm **Agent Shin**') string. Without that marker, the reconsider
provenance check in was_auto_closed_by_agent_shin() rejected the
request, so following the instructions was a silent no-op.
Co-authored-by: Yassin Kortam <yassin@berri.ai>
This commit is contained in:
parent
d976504534
commit
76aa7b7772
1 changed files with 2 additions and 1 deletions
3
.github/scripts/close_low_quality_prs.py
vendored
3
.github/scripts/close_low_quality_prs.py
vendored
|
|
@ -233,7 +233,8 @@ def close_pr(
|
|||
return
|
||||
|
||||
comment_body = (
|
||||
f"Closing as part of automated PR triage.\n\n"
|
||||
"👋 Hi, thanks for the PR! I'm **Agent Shin**, the automated triage "
|
||||
"bot for this repository. Closing as part of automated PR triage.\n\n"
|
||||
f"Greptile's most recent review scored this PR **{score}/5**, below "
|
||||
f"our merge bar of **{threshold}/5**.\n\n"
|
||||
"We close low-confidence PRs aggressively to keep the review queue "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue