Feat/edenai provider - #3929
Open
YacineMK wants to merge 10 commits into
Open
Conversation
Replace hardcoded #040F31 and #fff fills with a mask-based approach so the logo adapts to light/dark themes per AGENTS.md logo guidelines. The previous @media (prefers-color-scheme) rule did not work when the logo is served as an <img src> asset.
Contributor
Action items
|
Contributor
Action items
|
Contributor
Action items
|
Contributor
Action items
|
Contributor
|
No actionable findings. |
Author
|
Friendly ping @rekram1-node CI is green (796 models planned, 0 errors on dry-run, all 23 SDK tests pass) This follows the same catalog-deferred pattern as #2997 (kilo) and #3352 (hyper) Happy to answer any questions |
|
@rekram1-node could you take a look when you get a chance? This adds Eden AI as a sync provider (mirrors the OpenRouter/LLM Gateway pattern) and is needed to unblock Eden AI showing up as a provider in Kilo Code. Happy to help test or answer questions about the API responses. |
3 tasks
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 sync mechanism (provider scaffold, logo, sync module).
Eden AI is an EU-based AI aggregation platform that exposes 100+ models from many providers behind a single OpenAI-compatible API (
https://api.edenai.run/v3,Authorization: Bearer,provider/modelformat), with unified billing/usage tracking and EU data residency options. This adds theedenaiprovider using@ai-sdk/openai-compatible(no new dependency), matchingthe pattern of existing aggregator entries like
openrouter/kilo.Changes
providers/edenai/provider.toml— provider entryproviders/edenai/logo.svg— monochrome logo (currentColorvia SVG mask)packages/core/src/sync/providers/edenai.ts— sync module modeled onopenrouter.ts/llmgateway.tspackages/core/src/sync/index.ts— registered inproviders+aggregatorsgroupDesign notes
The sync treats Eden's
/v3/modelsas authoritative only for cost, context, and modality data. Capability,open_weights, and reasoning-control fields default to safe values (false,[]) when Eden's API doesn't provide them, following thellmgatewaypattern. Existing hand-authored fields are preserved viacontext.existing().Only text-output models are synced; specialty Eden endpoints (OCR, TTS, embeddings, sentiment) live on other Eden APIs and are out of scope.
Catalog
The generated catalog is ~800 files, which exceeds GitHub's 300-file PR-diff limit and would block the
pr-reviewerworkflow. Following the pattern from kilo #2997 and hyper #3352,the catalog will land in a follow-up PR from an
automation/sync-models-edenaibranch that bypasses the reviewer by design.To generate locally after merge:
bun models:sync edenai
Sources
https://api.edenai.run/v3/modelsVerification
bun models:sync edenai --dry-run→ 796 planned, 0 errorsbun validate→ passespackages/sdktests → 23/23 pass