From 90a6e578bc8d2147f5fcc22d6413686027eca2b5 Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Thu, 27 Oct 2022 18:20:16 -0700 Subject: [PATCH] fix type hint (#34) --- langchain/llms/cohere.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/llms/cohere.py b/langchain/llms/cohere.py index 5d642038198..76ecc7cdfaa 100644 --- a/langchain/llms/cohere.py +++ b/langchain/llms/cohere.py @@ -22,7 +22,7 @@ class Cohere(BaseModel, LLM): """ client: Any #: :meta private: - model: str = None + model: Optional[str] = None """Model name to use.""" max_tokens: int = 256