openai.internal.OaStreamState
What the decoder must remember ACROSS batches: which text items already streamed deltas (so a trailing `output_text.done` does not duplicate them), the assembled function-call arguments, and the model name the API resolved.
Reference version
Signature
class openai.internal.OaStreamStateWhat the decoder must remember ACROSS batches: which text items already
streamed deltas (so a trailing output_text.done does not duplicate them),
the assembled function-call arguments, and the model name the API resolved.
Source:<builtin>/openai/ns_internal/responses.bamlbytes 38816–39162
Fields
model
string | nulltext_started
map<string, bool>call_arguments
map<string, string>Static methods
function