class Riffer::Providers::Gemini::Client

HTTP transport for the Gemini REST API. Riffer builds one from the configured api_key by default; construct your own to tune the HTTP knobs and assign it to Riffer.config.gemini.client. Any object implementing post and post_stream with these contracts works there β€”the class is a default implementation, not a required base.

Riffer.configure do |config|
  config.gemini.client = Riffer::Providers::Gemini::Client.new(
    api_key: ENV["GEMINI_API_KEY"],
    read_timeout: 120
  )
end