* 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)
| 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 | } |
no test coverage detected