githubnext/ace2Public

Ace: a collaborative coding environment on the team's own machines

fix(app): show context fullness as a ring, not summed request tokens

The label summed every request's tokens, which re-count the conversation as cache reads on each
turn. The ring shows the latest response's tokens against the model's context window, as the
provider reported them; billed tokens and cost stay in the popover.
IAiamnbutler authored
1c96df4Patch
Parent1490768
4 files changed+71-13
StackedSplit
apps/app/src/conversation.tsx+1 −1
apps/app/src/usage.tsx+47 −12
packages/channel/src/channel.ts+18 −0
packages/channel/src/protocol.ts+5 −0