mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
multiple: push deprecation removals to 1.0 (#28236)
This commit is contained in:
@@ -1329,7 +1329,7 @@ def _make_message_chunk_from_anthropic_event(
|
||||
return message_chunk
|
||||
|
||||
|
||||
@deprecated(since="0.1.0", removal="0.3.0", alternative="ChatAnthropic")
|
||||
@deprecated(since="0.1.0", removal="1.0.0", alternative="ChatAnthropic")
|
||||
class ChatAnthropicMessages(ChatAnthropic):
|
||||
pass
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ def _xml_to_tool_calls(elem: Any, tools: List[Dict]) -> List[Dict[str, Any]]:
|
||||
|
||||
@deprecated(
|
||||
"0.1.5",
|
||||
removal="0.3.0",
|
||||
removal="1.0.0",
|
||||
alternative="ChatAnthropic",
|
||||
message=(
|
||||
"Tool-calling is now officially supported by the Anthropic API so this "
|
||||
|
||||
@@ -381,7 +381,7 @@ class AnthropicLLM(LLM, _AnthropicCommon):
|
||||
)
|
||||
|
||||
|
||||
@deprecated(since="0.1.0", removal="0.3.0", alternative="AnthropicLLM")
|
||||
@deprecated(since="0.1.0", removal="1.0.0", alternative="AnthropicLLM")
|
||||
class Anthropic(AnthropicLLM):
|
||||
"""Anthropic large language model."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user