nsmcp::ChatCompletionsBackend method streamData (public)
<instance of nsmcp::ChatCompletionsBackend> 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.
![[i]](/resources/acs-subsite/ZoomIn16.gif)