mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix(agent-shin): keep grace-window wording readable at 24h
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b506501126
commit
c74287b75b
3 changed files with 3 additions and 3 deletions
2
.github/scripts/close_low_quality_prs.py
vendored
2
.github/scripts/close_low_quality_prs.py
vendored
|
|
@ -271,7 +271,7 @@ def format_close_comment(score: int, threshold: int) -> str:
|
|||
"""
|
||||
score_sentence = (
|
||||
f"Greptile's most recent review scored this PR **{score}/5**, below "
|
||||
f"our merge bar of **{threshold}/5**, and the {GRACE_PERIOD_LABEL} grace period since "
|
||||
f"our merge bar of **{threshold}/5**, and the grace period ({GRACE_PERIOD_LABEL}) since "
|
||||
"the warning has elapsed.\n\n"
|
||||
)
|
||||
return (
|
||||
|
|
|
|||
2
.github/scripts/triage_rollout_heads_up.py
vendored
2
.github/scripts/triage_rollout_heads_up.py
vendored
|
|
@ -224,7 +224,7 @@ def format_heads_up_comment(
|
|||
f"- If this {noun} still fails the rubric at **{cutoff_str}**, "
|
||||
"we'll close it.\n"
|
||||
f"- From then on the bot runs daily, and every {noun} that fails "
|
||||
f"the rubric gets a **{GRACE_PERIOD_LABEL} lifetime**: one warning "
|
||||
f"the rubric gets **{GRACE_PERIOD_LABEL} to fix it**: one warning "
|
||||
f"comment, then auto-close {GRACE_PERIOD_LABEL} later.\n"
|
||||
"\n"
|
||||
f"{_recovery_section(kind)}\n"
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ class TestHeadsUpCommentBody:
|
|||
assert "09:00 UTC" in body # deadline is timezone-explicit
|
||||
assert "we'll close it" in body # hard deadline, not a passive notice
|
||||
assert (
|
||||
f"{heads_up_module.GRACE_PERIOD_LABEL} lifetime" in body
|
||||
f"{heads_up_module.GRACE_PERIOD_LABEL} to fix it" in body
|
||||
) # post-rollout steady state
|
||||
assert "Greptile" in body and "3/5" in body # specific shortfall
|
||||
assert "QA proof" in body # missing piece surfaced
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue