mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 20:58:25 +00:00
fix temperature parameter not used in chat models (#2558)
This commit is contained in:
parent
125afb51d7
commit
40469eef7f
@ -192,6 +192,7 @@ class ChatOpenAI(BaseChatModel):
|
||||
"max_tokens": self.max_tokens,
|
||||
"stream": self.streaming,
|
||||
"n": self.n,
|
||||
"temperature": self.temperature,
|
||||
**self.model_kwargs,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user