Skip to content

Commit

Permalink
fix(chat-models): honot disableStreaming even for generateUncached
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd committed Jan 23, 2025
1 parent 5bdbb75 commit d680961
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions langchain-core/src/language_models/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ export abstract class BaseChatModel<
);
if (
hasStreamingHandler &&
!this.disableStreaming &&
baseMessages.length === 1 &&
this._streamResponseChunks !==
BaseChatModel.prototype._streamResponseChunks
Expand Down

0 comments on commit d680961

Please sign in to comment.