class Riffer::Providers::OpenRouter

OpenRouter provider for the OpenRouter unified gateway (openrouter.ai).

Requires the openai gem to be installed. OpenRouter exposes an OpenAI-compatible Chat Completions endpoint, so this provider reuses the OpenAI Ruby SDK with a base_url override.

The api_key falls back to Riffer.config.openrouter.api_key and then to OPENROUTER_API_KEY.