mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4ef08bb112
The internal counter vars pctBeAgent and totalBeAgent were introduced in PR #5498 when the display label happened to be "BE (Agent)". The label has since changed (#5505 made it "API (HTTP)"). Coupling internal variable identifiers to display labels is fragile — labels move; the underlying Status enum string "wired" is a persisted contract that does not. Revert the var identifiers to mirror the enum: pctBeAgent -> pctWired (coverage-bar.tsx) totalBeAgent -> totalWired (cells-view.tsx, parity-view.tsx) Display labels ("API (HTTP)", etc.) are unchanged — this is internal identifiers only.