mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🌊 feat: add streaming support for o1 models (#4760)
This commit is contained in:
parent
77d1afcaee
commit
7d5be68747
1 changed files with 0 additions and 5 deletions
|
|
@ -1308,11 +1308,6 @@ ${convo}
|
|||
/** @type {(value: void | PromiseLike<void>) => void} */
|
||||
let streamResolve;
|
||||
|
||||
if (modelOptions.stream && this.isO1Model) {
|
||||
delete modelOptions.stream;
|
||||
delete modelOptions.stop;
|
||||
}
|
||||
|
||||
if (modelOptions.stream) {
|
||||
streamPromise = new Promise((resolve) => {
|
||||
streamResolve = resolve;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue