-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
In the PR Copilot Rate Limit Hanlder, I think it is looking for comments not events. What it should be looking for are what is represented in the PR GitHub.com page as in the following example:
<div id="event-20491893602" data-view-component="true" class="TimelineItem js-targetable-element">
<div data-view-component="true" class="TimelineItem-badge"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-branch">
<path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path>
</svg></div>
<div data-view-component="true" class="TimelineItem-body">
<strong>Copilot</strong> stopped work on behalf of
<a class="Link--primary text-bold" data-hovercard-type="user" data-hovercard-url="/users/litlfred/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/litlfred" aria-keyshortcuts="Alt+ArrowUp">litlfred</a> due to an error
<a href="#event-20491893602" data-view-component="true" class="css-truncate css-truncate-target Link--secondary Link"><relative-time tense="past" datetime="2025-10-24T15:23:25-04:00" data-view-component="true" title="Oct 24, 2025, 3:23 PM EDT">October 24, 2025 15:23</relative-time></a> <div class="mt-2 d-flex flex-items-start gap-2">
<svg style="margin-top: var(--base-size-2);" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x-circle-fill color-fg-danger">
<path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657ZM6.03 4.97a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.749.749 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.749.749 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.749.749 0 0 0-.734.215L8 6.94Z"></path>
</svg>
<a href="/litlfred/sgex/pull/1162/agent-sessions/def38c0b-6390-469f-8977-93855e946999" data-view-component="true" class="Link--secondary Link">Sorry, you've hit a rate limit that restricts the number of Copilot model requests you can make within a specific time period. Please try again in 1 minute. Please review our Terms of Service (https://docs.github.com/site-policy/github-terms/github-terms-of-service). If the problem persists, please contact GitHub Support, including the request ID `2440:A849A:3A8BE4:4653D2:68FBD1E1`. To retry, leave a comment on this pull request asking Copilot to try again.</a>
</div>
</div>
</div>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels