mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
feat: add Cortecs AI as OpenAI-compatible provider
- Add cortecs config to providers.json (base_url + api_key_env) - Add cortecs to provider_endpoints_support.json (chat_completions only) Follows the minimal JSON-configured provider pattern. The JSON provider registry automatically handles routing without needing manual entries in constants.py or types/utils.py.
This commit is contained in:
parent
934ecdca78
commit
4ba0b461d4
3 changed files with 38 additions and 0 deletions
|
|
@ -106,5 +106,9 @@
|
|||
"base_url": "https://aihubmix.com/v1",
|
||||
"api_key_env": "AIHUBMIX_API_KEY",
|
||||
"api_base_env": "AIHUBMIX_API_BASE"
|
||||
},
|
||||
"cortecs": {
|
||||
"base_url": "https://api.cortecs.ai/v1",
|
||||
"api_key_env": "CORTECS_API_KEY"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -474,6 +474,23 @@
|
|||
"a2a": false
|
||||
}
|
||||
},
|
||||
"cortecs": {
|
||||
"display_name": "Cortecs AI (`cortecs`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/cortecs",
|
||||
"endpoints": {
|
||||
"chat_completions": true,
|
||||
"messages": false,
|
||||
"responses": false,
|
||||
"embeddings": false,
|
||||
"image_generations": false,
|
||||
"audio_transcriptions": false,
|
||||
"audio_speech": false,
|
||||
"moderations": false,
|
||||
"batches": false,
|
||||
"rerank": false,
|
||||
"a2a": false
|
||||
}
|
||||
},
|
||||
"clarifai": {
|
||||
"display_name": "Clarifai (`clarifai`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/clarifai",
|
||||
|
|
|
|||
|
|
@ -509,6 +509,23 @@
|
|||
"a2a": false
|
||||
}
|
||||
},
|
||||
"cortecs": {
|
||||
"display_name": "Cortecs AI (`cortecs`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/cortecs",
|
||||
"endpoints": {
|
||||
"chat_completions": true,
|
||||
"messages": false,
|
||||
"responses": false,
|
||||
"embeddings": false,
|
||||
"image_generations": false,
|
||||
"audio_transcriptions": false,
|
||||
"audio_speech": false,
|
||||
"moderations": false,
|
||||
"batches": false,
|
||||
"rerank": false,
|
||||
"a2a": false
|
||||
}
|
||||
},
|
||||
"clarifai": {
|
||||
"display_name": "Clarifai (`clarifai`)",
|
||||
"url": "https://docs.litellm.ai/docs/providers/clarifai",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue