| 82894 | const runner = new _ChatCompletionStreamingRunner(null); |
| 82895 | const opts = { |
| 82896 | ...options, |
| 82897 | headers: { ...options?.headers, "X-Stainless-Helper-Method": "runFunctions" } |
| 82898 | }; |
| 82899 | runner._run(() => runner._runFunctions(client, params, opts)); |
| 82900 | return runner; |
| 82901 | } |
| 82902 | static runTools(client, params, options) { |
| 82903 | const runner = new _ChatCompletionStreamingRunner( |
| 82904 | // @ts-expect-error TODO these types are incompatible |
| 82905 | params |
| 82906 | ); |
| 82907 | const opts = { |
| 82908 | ...options, |
| 82909 | headers: { ...options?.headers, "X-Stainless-Helper-Method": "runTools" } |
| 82910 | }; |