mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
fix temperature parameter not used in chat models (#2558)
This commit is contained in:
@@ -192,6 +192,7 @@ class ChatOpenAI(BaseChatModel):
|
||||
"max_tokens": self.max_tokens,
|
||||
"stream": self.streaming,
|
||||
"n": self.n,
|
||||
"temperature": self.temperature,
|
||||
**self.model_kwargs,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user