Skip to content
Discussion options

You must be logged in to vote

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 Agreed on both counts — keep displayUsage: "separate" (merged does defeat the point of excluding delegate tokens from main totals), and surfacing the same usage summary on the inline path is the right fix. Your dedupe hunch is also correct: the usage block is cleanly extractable, so this is a small, low-risk change. Here's the concrete plan — tell me to go (or adjust a point) and I'll implement it as a PR referencing #2913.

What I'll build

1. Extract the shared usage renderer. Today the usage text lives inline in buildInjectText (pi-subagents/src/delegate-tool.ts:2087–2115) — a separate-mode cumulative block (── Session delegate usage (excluded f…

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@richardaubin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@richardaubin
Comment options

Answer selected by richardaubin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants