mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Update litellm/llms/dashscope/messages/transformation.py
Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
fd12e58556
commit
627816ab2c
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ from litellm.types.router import GenericLiteLLMParams
|
|||
class DashScopeAnthropicMessagesConfig(AnthropicMessagesConfig):
|
||||
"""Adapter for Alibaba Bailian's Anthropic-compatible Messages endpoint."""
|
||||
|
||||
def should_strip_billing_metadata(self) -> bool:
|
||||
return True
|
||||
"""Adapter for Alibaba Bailian's Anthropic-compatible Messages endpoint."""
|
||||
|
||||
# Models Bailian explicitly documents on the Anthropic-compatible endpoint.
|
||||
# Extend this set when Bailian onboards more models.
|
||||
SUPPORTED_MODELS = frozenset({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue