Flight Log / microsoft/genaiscript #1797

Fix: Do not include usage report in AI disclaimer when token usage is 0 — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/genaiscript on Jul 25, 2025; merged clean in 2.2 h, merged by @pelikhan: +54 −2, 3 files, 1 review.

All agent flights in microsoft/genaiscript · GitHub Copilot flights

Merged cleanGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+54 −2
Files
3
Commits
2
Reviews
1
To merge
2.2 h
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

GitHub Copilot opened a fix in microsoft/genaiscript so the generatedByFooter function stops adding usage reports to AI disclaimers when total_tokens is 0. The change spans three files, with 54 lines added and two removed, across two commits. It received one review round with no change requests and no review comments. The pull request merged clean after 2.21 hours.

From the pull request description

## Problem The `generatedByFooter` function was always including usage reports in AI disclaimers whenever `GenerationStats` were provided, even when no tokens were actually used (total_tokens = 0). This resulted in unnecessary usage reports showing "0t" tokens in generated content. ## Solution Mo…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —reviewed
  4. Jul 25, 2025mergedpelikhan
  5. Jul 25, 2025closedpelikhan

Cite this flight: AgentRiders Flight Log, microsoft/genaiscript#1797, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/genaiscript/1797/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.