Skip to content

The agent engineering platform.

fix type hint (#34)

Harrison Chase90a6e578bc8d
diff --git a/langchain/llms/cohere.py b/langchain/llms/cohere.py
index 5d64203819..76ecc7cdfa 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