class Riffer::Providers::OpenRouter
Constants
- BASE_URL
- FINISH_REASONS
- REASONING_FORMATS
-
The
reasoning_detailsformatsOpenRouterdocuments. Only parts tagged with one of them are replayed, so parts from other adapters, or with no format, never reach the request. - REASONING_TYPES
Public Class Methods
Source
# File lib/riffer/providers/open_router.rb, line 47 def initialize super depends_on "openai" end
Calls superclass method
Source
# File lib/riffer/providers/open_router.rb, line 41 def self.semconv_provider_name "openrouter" end
Public Instance Methods
Source
# File lib/riffer/providers/open_router.rb, line 54 def file_delivery(file) file.image? ? :url : :base64 end