]> git.giacomolli.uk - onechat/commitdiff
Record the subagent name in the usage records
authorAnderson A. Giacomolli <redacted>
Sun, 8 Nov 2026 12:50:31 +0000 (09:50 -0300)
committerAnderson A. Giacomolli <redacted>
Sun, 8 Nov 2026 12:50:31 +0000 (09:50 -0300)
A model request names the subagent that makes it, and the usage record
of the call holds that name in the agent field. A call of the agent
itself has no such field. The name goes only to the usage file, never to
the endpoint, so the usage records show the cost of each subagent in the
shared usage file of the agent.

Issue: b1ac698


No differences found