feat(providers): add Eden AI as an OpenAI-compatible provider#50
Open
MVS-source wants to merge 1 commit into
Open
feat(providers): add Eden AI as an OpenAI-compatible provider#50MVS-source wants to merge 1 commit into
MVS-source wants to merge 1 commit into
Conversation
Eden AI is an OpenAI-compatible gateway to 100+ models (Mistral, OpenAI, Anthropic, Google, and more) behind a single EU-based endpoint and one EDENAI_API_KEY. Adding it is a JSON drop-in (client_kind=openai), no code change, mirroring the existing openai/together/nebius providers. - add sia/defaults/providers/edenai.json - cover it in tests/test_providers.py (bundled set + load assertions) - document it in docs/configuration.md
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.
Summary
Adds Eden AI as an OpenAI-compatible provider. Eden AI is an EU-based unified API to 100+ models (Mistral, OpenAI, Anthropic, Google, …) behind a single OpenAI-compatible endpoint and one key. Per
sia/providers.py("Adding a provider is dropping a JSON file — no code change"), this is a JSON drop-in.Type of change
Related issue
N/A (small, clearly-scoped provider addition)
What changed
sia/defaults/providers/edenai.json(client_kind = openai,base_url = https://api.edenai.run/v3,api_key_env = EDENAI_API_KEY)tests/test_providers.py(bundled set +test_load_edenai_provider)docs/configuration.md(bundled providers list +EDENAI_API_KEYin the API keys section)How I tested this
Also verified end-to-end against the live Eden AI API: SIA loads the
edenaiprovider and an OpenAI-SDK client atbase_urlreturns valid completions formistral/mistral-small-latestandopenai/gpt-4o-mini.Security and privacy checklist
The provider file stores only the name of the environment variable (
EDENAI_API_KEY), never a key value; the key is read from the environment at runtime, consistent with the other bundled providers.