Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jan 29, 2025
1 parent a24c963 commit 23a5cd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/langchain-openai/src/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,7 @@ export class ChatOpenAI<
this.reasoningEffort = fields?.reasoningEffort;

if (this.model === "o1") {
this.disableStreaming =
fields?.disableStreaming != null ? fields?.disableStreaming : true;
this.disableStreaming = fields?.disableStreaming ?? true;
}

this.streaming = fields?.streaming ?? false;
Expand Down

0 comments on commit 23a5cd7

Please sign in to comment.