feat(llm): add Eden AI as an OpenAI-compatible provider#12964
Open
MVS-source wants to merge 1 commit into
Open
feat(llm): add Eden AI as an OpenAI-compatible provider#12964MVS-source wants to merge 1 commit into
MVS-source wants to merge 1 commit into
Conversation
Eden AI (https://www.edenai.co) is an OpenAI-compatible aggregator exposing 100+ models from many providers (OpenAI, Anthropic, Google, Mistral, DeepSeek, ...) through a single EU-hosted endpoint and API key. Models use the provider/model naming scheme. Mirrors the existing OpenAI-compatible providers (Cerebras/Deepseek): - core/llm/llms/EdenAI.ts (extends OpenAI, apiBase https://api.edenai.run/v3/) - registered in core/llm/llms/index.ts - @continuedev/openai-adapters: provider literal + openAICompatible case - OpenAI-compatible-core.vitest.ts coverage entry - docs page + nav API key is provided via config (apiKey) and never hardcoded. Signed-off-by: Victor M. SMITH <72023257+MVS-source@users.noreply.github.com>
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Eden AI (https://www.edenai.co) as an OpenAI-compatible LLM provider. Eden AI is an EU-hosted aggregator that exposes 100+ models from many providers (OpenAI, Anthropic, Google, Mistral, DeepSeek, xAI, …) through a single endpoint and API key. Models use the
provider/modelnaming scheme (e.g.anthropic/claude-sonnet-4-5,mistral/codestral-latest).Mirrors the existing OpenAI-compatible providers (Cerebras / Deepseek):
core/llm/llms/EdenAI.ts—EdenAI extends OpenAI(apiBase: https://api.edenai.run/v3/)core/llm/llms/index.ts@continuedev/openai-adapters: provider literal in the OpenAI-compatible union +openAICompatiblecaseOpenAI-compatible-core.vitest.tsExample config
Testing
@continuedev/openai-adapters:tsc --noEmitclean,vitestgreen (145 passed)./v3/chat/completionsand/v3/modelsboth 200).apiKey(or env), never hardcoded.