Class: RainbowLLM::Providers::BasicAuthOpenAI

Inherits:
RubyLLM::Providers::OpenAI
  • Object
show all
Defined in:
lib/rainbow_llm/providers/basic_auth_openai.rb

Instance Method Summary collapse

Instance Method Details

#headersObject



8
9
10
# File 'lib/rainbow_llm/providers/basic_auth_openai.rb', line 8

def headers
  {"Authorization" => "Basic #{@config.openai_api_key}"}
end