class ActiveGenie::Configuration::Providers::BaseConfig

def to_h(config = {})

Returns:
  • (Hash) - The configuration settings as a hash.

Parameters:
  • config (Hash) -- Additional key-value pairs to merge into the hash.
def to_h(config = {})
  {
    name: NAME,
    api_key:,
    api_url:,
    lower_tier_model:,
    middle_tier_model:,
    upper_tier_model:,
    **config
  }
end