nsmcp::ChatCompletionsBackend method streamData (public)

 <instance of nsmcp::ChatCompletionsBackend[i]> streamData key \
    fields

Defined in /usr/local/ns/tcl/nsmcp/question-chat-completions.tcl

Append bounded bytes from a streamed HTTP response. Serialize buffer and byte-counter updates and retain explicit overflow/error state.

Parameters:
key (required)
Retained stream or configuration key.
fields (required)
HTTP callback dictionary containing newly received data.
Returns:
The callback update result.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: