ai.stream._context_patch
(internal) A patch that layers `caller`'s context over the span's, so work a stream does for a step keeps the context that step was called in.
Reference version
Signature
function ai.stream._context_patch(caller: trace.Context) -> trace.Options throws never
(internal) A patch that layers caller's context over the span's, so work a
stream does for a step keeps the context that step was called in.
Source:<builtin>/ai/ns_stream/stream.bamlbytes 36520–36843