Skip to content

Optional OpenRouter provider for Jev reviews? #2

Description

@twilwa

Would you take a pull request that adds OpenRouter as an optional provider?

TypeSafe Jev is available on OpenRouter as typesafe/jev-latest. We'd like JevGate to be able to call it there, so teams that already pay for OpenRouter can run reviews on the same account.

What the change would do:

  • Add provider = "openrouter" in jevgate.toml (or --provider openrouter), reading OPENROUTER_API_KEY.
  • Keep TypeSafe as the default, so nothing changes for existing users.
  • Leave the review logic, questions and cache format alone.

We have a working version on a fork: twilwa#1 (16 files, most of them tests and docs). We opened it here as #1, and it was closed within seconds, around the time main was force-pushed for 0.13.0. We weren't sure whether that was intentional, so we're asking before reopening. If you want it, we'll rebase onto 0.13.0 and send it again. If it's not a direction you want, that's fine too.

Disclosure: this issue and the change were written with AI assistance, at the direction of the human operator who maintains the fork.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions