mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-06 05:25:04 +00:00
(all): update removal in deprecation warnings from 0.2 to 0.3 (#21265)
We are pushing out the removal of these to 0.3. `find . -type f -name "*.py" -exec sed -i '' 's/removal="0\.2/removal="0.3/g' {} +`
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.2.0", alternative_import="langchain_cohere.BaseCohere"
|
||||
since="0.0.30", removal="0.3.0", alternative_import="langchain_cohere.BaseCohere"
|
||||
)
|
||||
class BaseCohere(Serializable):
|
||||
"""Base class for Cohere models."""
|
||||
@@ -122,7 +122,7 @@ class BaseCohere(Serializable):
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.1.14", removal="0.2.0", alternative_import="langchain_cohere.Cohere"
|
||||
since="0.1.14", removal="0.3.0", alternative_import="langchain_cohere.Cohere"
|
||||
)
|
||||
class Cohere(LLM, BaseCohere):
|
||||
"""Cohere large language models.
|
||||
|
Reference in New Issue
Block a user