mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-02 16:48:50 +01:00
🔨 fix(AzureOpenAI): o1 model, stream parameter check (#4381)
This commit is contained in:
parent
873e0473ec
commit
2846779603
1 changed files with 1 additions and 1 deletions
|
|
@ -1309,7 +1309,7 @@ ${convo}
|
|||
/** @type {(value: void | PromiseLike<void>) => void} */
|
||||
let streamResolve;
|
||||
|
||||
if (modelOptions.stream && /\bo1\b/i.test(modelOptions.model)) {
|
||||
if (modelOptions.stream && this.isO1Model) {
|
||||
delete modelOptions.stream;
|
||||
delete modelOptions.stop;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue