Skip to content

Feature: add Eden AI as a built-in provider preset #338

Closed

Description

@MVS-source

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: openai
  • BaseURL: https://api.edenai.run/v3
  • EnvVar: EDENAI_API_KEY
  • A small curated Models list using Eden AI's provider/model naming (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

  1. added
    enhancement
    good first issue
    on Jul 9, 2026
  2. lizhengfeng101 commented on Jul 9, 2026

    @lizhengfeng101
    Contributor

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions