mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🔃 refactor: Allow streaming for o1 models in OpenAIClient and agent runs (#6509)
This commit is contained in:
parent
1d29c1efa6
commit
c4fea9cd79
2 changed files with 0 additions and 12 deletions
|
|
@ -51,10 +51,6 @@ async function createRun({
|
|||
) {
|
||||
reasoningKey = 'reasoning';
|
||||
}
|
||||
if (/o1(?!-(?:mini|preview)).*$/.test(llmConfig.model)) {
|
||||
llmConfig.streaming = false;
|
||||
llmConfig.disableStreaming = true;
|
||||
}
|
||||
|
||||
/** @type {StandardGraphConfig} */
|
||||
const graphConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue