Skip to content

Add Vercel AI Gateway and OrcaRouter provider suppor - #36

Open
marcopedrinazzi wants to merge 1 commit into
Nova-Hunting:mainfrom
marcopedrinazzi:provider
Open

marcopedrinazzi wants to merge 1 commit into
Nova-Hunting:mainfrom
marcopedrinazzi:provider

Conversation

@marcopedrinazzi

Copy link
Copy Markdown
Contributor

Adds Vercel AI Gateway and OrcaRouter support for LLM rules across the CLI, scanner, and SDK.

  • Adds --llm vercel and --llm orcarouter.
  • Supports AI_GATEWAY_API_KEY and ORCAROUTER_API_KEY, plus credentials supplied through --config.
  • Defaults to openai/gpt-4o-mini for Vercel and orcarouter/auto for OrcaRouter, with CLI and environment model overrides.
  • Reuses the existing OpenAI compatible evaluator and omits temperature for OrcaRouter automatic routing models.
  • Adds provider tests and configuration examples without new dependencies.

Validation: 160 tests pass; Ruff and compilation pass. Both providers were verified with live requests.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant