multiple: push deprecation removals to 1.0 (#28236)

This commit is contained in:
Erick Friis
2024-11-20 19:56:29 -08:00
committed by GitHub
parent 4f76246cf2
commit d1108607f4
9 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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 "

View File

@@ -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."""