Class: SkillBench::Clients::Providers::OpenRouter

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/skill_bench/clients/providers/openrouter.rb

Overview

OpenRouter LLM client. Uses OpenRouter’s OpenAI-compatible API to access multiple model providers. Inherits common logic from BaseClient.

Instance Attribute Summary

Attributes inherited from BaseClient

#api_key, #messages, #model, #options, #system_prompt, #tools

Instance Method Summary collapse

Methods inherited from BaseClient

call, #call, #initialize

Constructor Details

This class inherits a constructor from SkillBench::Clients::BaseClient

Instance Method Details

#provider_nameSymbol

Returns the provider identifier.

Returns:

  • (Symbol)


18
19
20
# File 'lib/skill_bench/clients/providers/openrouter.rb', line 18

def provider_name
  :openrouter
end