diff --git a/api/app/clients/OpenAIClient.js b/api/app/clients/OpenAIClient.js index 848547314b8..d06ddd91775 100644 --- a/api/app/clients/OpenAIClient.js +++ b/api/app/clients/OpenAIClient.js @@ -1308,11 +1308,6 @@ ${convo} /** @type {(value: void | PromiseLike) => void} */ let streamResolve; - if (modelOptions.stream && this.isO1Model) { - delete modelOptions.stream; - delete modelOptions.stop; - } - if (modelOptions.stream) { streamPromise = new Promise((resolve) => { streamResolve = resolve;