Repository navigation
feat: add Cortecs AI as named OpenAI-compatible provider - #26971
markoarnauto wants to merge 1 commit into
Conversation
|
Markus Tretzmüller seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Greptile SummaryThis PR adds Cortecs AI as a named OpenAI-compatible provider by updating three JSON configuration files: Confidence Score: 4/5Safe to merge after adding the missing Cortecs documentation page Only P2 findings — a missing docs page referenced by the url field. All JSON changes follow established patterns and are correctly formatted. provider_endpoints_support.json and litellm/provider_endpoints_support_backup.json reference a docs URL that doesn't exist yet
|
| Filename | Overview |
|---|---|
| litellm/llms/openai_like/providers.json | Adds cortecs entry with base URL and API key env var; format consistent with other minimal providers (helicone, scaleway, etc.) |
| provider_endpoints_support.json | Adds cortecs provider with chat_completions support; the url field references docs that don't yet exist in this PR |
| litellm/provider_endpoints_support_backup.json | Mirror of provider_endpoints_support.json changes; same docs URL concern applies |
Reviews (1): Last reviewed commit: "feat: add Cortecs AI as OpenAI-compatibl..." | Re-trigger Greptile
| "url": "https://docs.litellm.ai/docs/providers/cortecs", | ||
| "endpoints": { | ||
| "chat_completions": true, | ||
| "messages": false, |
There was a problem hiding this comment.
The url field references https://docs.litellm.ai/docs/providers/cortecs, but no corresponding docs page is included in this PR. Checking comparable provider additions (aihubmix, scaleway), a dedicated docs page at docs/my-website/docs/providers/cortecs.md is typically expected. Without it, the link in the provider endpoint table will be a 404.
- 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.
4ba0b46 to
19da468
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Description
Adds Cortecs as a named OpenAI-compatible provider in LiteLLM.
Changes
litellm/llms/openai_like/providers.json: Added cortecs entry with base URL (https://api.cortecs.ai/v1) and API key env varprovider_endpoints_support.json: Added cortecs provider with supported endpoints (chat_completions)litellm/provider_endpoints_support_backup.json: Same as aboveUsage
About Cortecs