mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 22:42:05 +00:00
multiple: update removal targets (#25361)
This commit is contained in:
@@ -71,7 +71,7 @@ def acompletion_with_retry(llm: Cohere, **kwargs: Any) -> Any:
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.0.30", removal="0.3.0", alternative_import="langchain_cohere.BaseCohere"
|
||||
since="0.0.30", removal="1.0", alternative_import="langchain_cohere.BaseCohere"
|
||||
)
|
||||
class BaseCohere(Serializable):
|
||||
"""Base class for Cohere models."""
|
||||
@@ -121,9 +121,7 @@ class BaseCohere(Serializable):
|
||||
return values
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.1.14", removal="0.3.0", alternative_import="langchain_cohere.Cohere"
|
||||
)
|
||||
@deprecated(since="0.1.14", removal="1.0", alternative_import="langchain_cohere.Cohere")
|
||||
class Cohere(LLM, BaseCohere):
|
||||
"""Cohere large language models.
|
||||
|
||||
|
Reference in New Issue
Block a user