mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 15:04:13 +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:
@@ -756,6 +756,6 @@ def _lc_tool_calls_to_anthropic_tool_use_blocks(
|
||||
return blocks
|
||||
|
||||
|
||||
@deprecated(since="0.1.0", removal="0.2.0", alternative="ChatAnthropic")
|
||||
@deprecated(since="0.1.0", removal="0.3.0", alternative="ChatAnthropic")
|
||||
class ChatAnthropicMessages(ChatAnthropic):
|
||||
pass
|
||||
|
@@ -145,7 +145,7 @@ def _xml_to_tool_calls(elem: Any, tools: List[Dict]) -> List[Dict[str, Any]]:
|
||||
|
||||
@deprecated(
|
||||
"0.1.5",
|
||||
removal="0.2.0",
|
||||
removal="0.3.0",
|
||||
alternative="ChatAnthropic",
|
||||
message=(
|
||||
"Tool-calling is now officially supported by the Anthropic API so this "
|
||||
|
@@ -360,6 +360,6 @@ class AnthropicLLM(LLM, _AnthropicCommon):
|
||||
return self.count_tokens(text)
|
||||
|
||||
|
||||
@deprecated(since="0.1.0", removal="0.2.0", alternative="AnthropicLLM")
|
||||
@deprecated(since="0.1.0", removal="0.3.0", alternative="AnthropicLLM")
|
||||
class Anthropic(AnthropicLLM):
|
||||
pass
|
||||
|
@@ -494,7 +494,7 @@ class PineconeVectorStore(VectorStore):
|
||||
return None
|
||||
|
||||
|
||||
@deprecated(since="0.0.3", removal="0.2.0", alternative="PineconeVectorStore")
|
||||
@deprecated(since="0.0.3", removal="0.3.0", alternative="PineconeVectorStore")
|
||||
class Pinecone(PineconeVectorStore):
|
||||
"""Deprecated. Use PineconeVectorStore instead."""
|
||||
|
||||
|
@@ -110,7 +110,7 @@ class UpstageGroundednessCheck(BaseTool):
|
||||
|
||||
@deprecated(
|
||||
since="0.1.3",
|
||||
removal="0.2.0",
|
||||
removal="0.3.0",
|
||||
alternative_import="langchain_upstage.UpstageGroundednessCheck",
|
||||
)
|
||||
class GroundednessCheck(UpstageGroundednessCheck):
|
||||
|
Reference in New Issue
Block a user