Repository navigation
Description
Problem Statement
OpenCodeReview ships with a great set of built-in provider presets (ocr llm providers), but there's currently no preset for teams who route their models through Eden AI — an OpenAI-compatible aggregator that exposes 100+ models (Anthropic, OpenAI, Google, Mistral, DeepSeek, xAI, …) behind a single EU-hosted endpoint and one API key. Today these users have to add Eden AI manually as a custom provider every time, instead of just picking it and supplying a key.
Proposed Solution
Add Eden AI as a built-in provider preset in internal/llm/providers.go, exactly like the existing OpenAI-compatible presets:
Protocol: openaiBaseURL: https://api.edenai.run/v3EnvVar: EDENAI_API_KEY- A small curated
Modelslist using Eden AI'sprovider/modelnaming (e.g.anthropic/claude-opus-4-5,openai/gpt-5.1-codex,mistral/devstral-medium-latest,deepseek/deepseek-v4-pro, …)
From a user's perspective: ocr config provider → pick Eden AI → supply key (or set EDENAI_API_KEY) → done. This mirrors the recently added Ollama Cloud preset (#310).
I'm from the Eden AI team and I've already prepared the change (2 files: providers.go + providers_test.go, go build/go test ./internal/llm/ green, and verified live against the Eden AI API). Following the issue-first note in CONTRIBUTING, I wanted to check with you before opening the PR — happy to send it right away if this looks good, and to adjust the curated model list to your preference.
Alternatives Considered
- Custom provider (already supported): works, but every user has to re-enter the URL/protocol manually. A built-in preset removes that friction.
Affected Area
- Review Agent / LLM interaction
- Configuration
Additional Context
Eden AI is OpenAI-compatible, so no protocol-specific code is needed — it reuses the existing openai protocol path. Docs: https://www.edenai.co
Activity
lizhengfeng101 commentedon Jul 9, 2026
Hi @MVS-source, thanks for this proposal!
We'd love to have Eden AI as a built-in provider preset. Since we don't have an Eden AI account on our side, it would be difficult for us to properly test the integration. It would be great if you could contribute the PR directly — you've clearly already done the groundwork, and being from the Eden AI team you're in the best position to verify everything works end-to-end.
Feel free to open the PR whenever you're ready. Looking forward to it!