I have a multi agent setup that uses Agent Delegation with one Root Agent , several MCP Tools, and Two Subagents. When the user creates a session and runs the first query, the root agent correctly ...
When RunResultStreaming raises an error (API errors, connection drops, context window exceeded, etc.), result.context_wrapper.usage stays at 0 tokens even though ...