mirror of
https://github.com/hwchase17/langchain
synced 2024-11-04 06:00:26 +00:00
[nit] Add default value for ChatOpenAI client (#7939)
Micro convenience PR to avoid warning regarding missing `client` parameter. It is always set during initialization. @baskaryan Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
parent
82df923f37
commit
0ad2d5f27a
@ -190,7 +190,7 @@ class ChatOpenAI(BaseChatModel):
|
||||
def lc_serializable(self) -> bool:
|
||||
return True
|
||||
|
||||
client: Any #: :meta private:
|
||||
client: Any = None #: :meta private:
|
||||
model_name: str = Field(default="gpt-3.5-turbo", alias="model")
|
||||
"""Model name to use."""
|
||||
temperature: float = 0.7
|
||||
|
Loading…
Reference in New Issue
Block a user