clean up model name

Former-commit-id: c1e7914c505050ae088f857762597dad247bb37e
pull/160/head
Kye 2 years ago
parent 1e25332dcd
commit 44f1b022a3

@ -140,7 +140,7 @@ class ChatOpenAI(BaseChatModel, BaseModel):
"""
client: Any #: :meta private:
model_name: str = os.environ["MODEL_NAME"] or 'gpt-4'
model_name: str = os.environ.get("MODEL_NAME", "gpt-4")
"""Model name to use."""
model_kwargs: Dict[str, Any] = Field(default_factory=dict)
"""Holds any model parameters valid for `create` call not explicitly specified."""

Loading…
Cancel
Save