MCPcopy
hub / github.com/di-sukharev/opencommit / stream

Method stream

out/cli.cjs:42542–42544  ·  view source on GitHub ↗

* Stream Agents completion * * @remarks * Mistral AI provides the ability to stream responses back to a client in order to allow partial results for certain requests. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a da

(request3, options)

Source from the content-addressed store, hash-verified

42540 * Mistral AI provides the ability to stream responses back to a client in order to allow partial results for certain requests. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
42541 */
42542 async stream(request3, options) {
42543 return (0, fp_js_1.unwrapAsync)((0, agentsStream_js_1.agentsStream)(this, request3, options));
42544 }
42545 };
42546 exports2.Agents = Agents;
42547 }

Callers 13

consumeBodyFunction · 0.45
writeToStreamFunction · 0.45
consumeBlobPartsFunction · 0.45
filesDownloadFunction · 0.45
streamMethod · 0.45
extractBodyFunction · 0.45
writeFunction · 0.45
writeBodyH2Function · 0.45
readOperationFunction · 0.45
encodeMethod · 0.45
cli.cjsFile · 0.45
getRawContentFunction · 0.45

Calls 3

createMessageMethod · 0.80
createChatCompletionMethod · 0.80
createAssistantStreamMethod · 0.80

Tested by

no test coverage detected