mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Add Melious OpenAI-like provider
This commit is contained in:
parent
e0c8a6b483
commit
5cf43a95ec
5 changed files with 47 additions and 0 deletions
|
|
@ -880,6 +880,7 @@ openai_compatible_providers: List = [
|
|||
"docker_model_runner",
|
||||
"ragflow",
|
||||
"pinstripes", # Pinstripes - JSON-configured provider
|
||||
"melious", # Melious - JSON-configured provider
|
||||
"darkbloom",
|
||||
]
|
||||
openai_text_completion_compatible_providers: List = (
|
||||
|
|
|
|||
|
|
@ -159,6 +159,17 @@
|
|||
"max_completion_tokens": "max_tokens"
|
||||
}
|
||||
},
|
||||
"melious": {
|
||||
"base_url": "https://api.melious.ai/v1",
|
||||
"api_key_env": "MELIOUS_API_KEY",
|
||||
"api_base_env": "MELIOUS_API_BASE",
|
||||
"supported_endpoints": [
|
||||
"/v1/chat/completions",
|
||||
"/v1/embeddings",
|
||||
"/v1/images/generations",
|
||||
"/v1/audio/transcriptions"
|
||||
]
|
||||
},
|
||||
"empiriolabs": {
|
||||
"base_url": "https://api.empiriolabs.ai/v1",
|
||||
"api_key_env": "EMPIRIOLABS_API_KEY",
|
||||
|
|
|
|||
|
|
@ -1395,6 +1395,23 @@
|
|||
"interactions": true
|
||||
}
|
||||
},
|
||||
"melious": {
|
||||
"display_name": "Melious (`melious`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/melious",
|
||||
"endpoints": {
|
||||
"chat_completions": true,
|
||||
"messages": true,
|
||||
"responses": false,
|
||||
"embeddings": true,
|
||||
"image_generations": true,
|
||||
"audio_transcriptions": true,
|
||||
"audio_speech": false,
|
||||
"moderations": false,
|
||||
"batches": false,
|
||||
"rerank": false,
|
||||
"a2a": false
|
||||
}
|
||||
},
|
||||
"mistral": {
|
||||
"display_name": "Mistral AI API (`mistral`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/mistral",
|
||||
|
|
|
|||
|
|
@ -3480,6 +3480,7 @@ class LlmProviders(str, Enum):
|
|||
XIAOMI_MIMO = "xiaomi_mimo"
|
||||
TENSORMESH = "tensormesh"
|
||||
LIBERTAI = "libertai"
|
||||
MELIOUS = "melious"
|
||||
PINSTRIPES = "pinstripes"
|
||||
DARKBLOOM = "darkbloom"
|
||||
LITELLM_AGENT = "litellm_agent"
|
||||
|
|
|
|||
|
|
@ -1500,6 +1500,23 @@
|
|||
"interactions": true
|
||||
}
|
||||
},
|
||||
"melious": {
|
||||
"display_name": "Melious (`melious`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/melious",
|
||||
"endpoints": {
|
||||
"chat_completions": true,
|
||||
"messages": true,
|
||||
"responses": false,
|
||||
"embeddings": true,
|
||||
"image_generations": true,
|
||||
"audio_transcriptions": true,
|
||||
"audio_speech": false,
|
||||
"moderations": false,
|
||||
"batches": false,
|
||||
"rerank": false,
|
||||
"a2a": false
|
||||
}
|
||||
},
|
||||
"mistral": {
|
||||
"display_name": "Mistral AI API (`mistral`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/mistral",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue