(threadId, runId, runs, params, options)
| 83079 | throw new APIUserAbortError3(); |
| 83080 | } |
| 83081 | return this._addRun(__classPrivateFieldGet12(this, _AssistantStream_instances, "m", _AssistantStream_endRequest).call(this)); |
| 83082 | } |
| 83083 | toReadableStream() { |
| 83084 | const stream4 = new Stream2(this[Symbol.asyncIterator].bind(this), this.controller); |
| 83085 | return stream4.toReadableStream(); |
| 83086 | } |
| 83087 | static createToolAssistantStream(threadId, runId, runs, params, options) { |
| 83088 | const runner = new _AssistantStream(); |
| 83089 | runner._run(() => runner._runToolAssistantStream(threadId, runId, runs, params, { |
| 83090 | ...options, |
| 83091 | headers: { ...options?.headers, "X-Stainless-Helper-Method": "stream" } |
no test coverage detected