When RunResultStreaming raises an error (API errors, connection drops, context window exceeded, etc.), result.context_wrapper.usage stays at 0 tokens even though ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results