Repository navigation
feat: add Eden AI as a model provider - #1002
Merged
Merged
Conversation
Eden AI is an EU-based, OpenAI-compatible gateway that routes to many upstream providers behind a single API key. Models are addressed as <provider>/<model>, e.g. openai/gpt-4o-mini or anthropic/claude-haiku-4-5. Mirrors the existing OpenRouter treatment exactly: added to the ProviderId enum, routed as OpenAIChatCompletions across all client API shapes, same cache marker strategy (content-part cache_control for Anthropic-family models over chat completions), no static model list. - crates/hermesllm/src/providers/id.rs: ProviderId::EdenAI variant, parsing, Display, routing, cache strategy, unit tests - cli/planoai/defaults.py: zero-config default (EDENAI_API_KEY, base_url) - cli/planoai/config_generator.py + config/plano_config_schema.yaml: added edenai to the supported provider lists - Tests added on both the Rust and Python CLI side Tested live against the real Eden AI API across three vendors (openai/gpt-4o-mini, mistral/mistral-small-latest, anthropic/claude-haiku-4-5), all returning HTTP 200. Fixes katanemo#997
Spherrrical
approved these changes
Jul 29, 2026
MVS-source
added a commit
to edenai/docs
that referenced
this pull request
Aug 31, 2026
* docs: add Plano, Repowise and PyGPT integration guides The last three merged Eden AI integrations without a page here. Plano katanemo/plano#1002 2026-07-29 AI Gateway Repowise repowise-dev/repowise#705 2026-07-07 AI Frameworks PyGPT szczyglis-dev/py-gpt#194 2026-07-22 Chat UI Configuration is lifted from the merged upstream code, not reconstructed: - Plano: the ProviderDefault in cli/planoai/defaults.py and the wildcard config in their own cli/test/test_config_generator.py fixture. The Rust ProviderId::EdenAI parses 'edenai' and rejects 'eden_ai', and carries no hardcoded model list, the same treatment as OpenRouter. - Repowise: the CLI flags and env vars from the CONFIG.md and .env.example we contributed, including EDENAI_BASE_URL covering both the LLM and the embedder. - PyGPT: the api_key_edenai and api_endpoint_edenai settings keys, their default endpoint value and the 'Eden AI' settings tab. Every model id cited was checked against the live catalogues. * docs: align integration page metadata with the existing pages Match the conventions already used by the merged integration pages: schema.org about values per nav section, Title Case keywords capped at five, and code block titles that name the file or tool instead of repeating the language.
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.
What
Adds Eden AI as a model provider. Eden AI is an EU-based, OpenAI-compatible gateway that routes to many upstream providers behind a single API key. Models are addressed as
<provider>/<model>, e.g.openai/gpt-4o-minioranthropic/claude-haiku-4-5.Mirrors the existing OpenRouter treatment exactly, since both are broad OpenAI-compatible gateways with no static model list:
crates/hermesllm/src/providers/id.rs: newProviderId::EdenAIvariant, parsing (edenai), Display, routed asOpenAIChatCompletionsacross all client API shapes (same as OpenRouter), same cache marker strategy (content-partcache_controlfor Anthropic-family models over chat completions)cli/planoai/defaults.py: zero-config default entry (EDENAI_API_KEY,base_url: https://api.edenai.run/v3)cli/planoai/config_generator.pyandconfig/plano_config_schema.yaml: addededenaito the supported provider lists, same spot asopenrouterTesting
cargo test -p hermesllm: all tests pass, including new EdenAI-specific ones (parsing, compatible_api_for_client, cache marker strategy, empty models list)cargo fmt --checkandcargo clippy: cleanuv run pytest(cli): all tests pass, including new ones fordefaults.py(provider default config, env-key promotion) andconfig_generator.py(schema validation)https://api.edenai.run/v3/chat/completions) across three underlying vendors, all HTTP 200:openai/gpt-4o-minimistral/mistral-small-latestanthropic/claude-haiku-4-5fixes #997