Exception: Soka::Rails::InvalidProviderError

Inherits:
ConfigurationError show all
Defined in:
lib/soka/rails/errors.rb

Overview

Raised when an unsupported AI provider is specified

Instance Method Summary collapse

Constructor Details

#initialize(provider) ⇒ InvalidProviderError

Returns a new instance of InvalidProviderError.



40
41
42
# File 'lib/soka/rails/errors.rb', line 40

def initialize(provider)
  super("Invalid AI provider: #{provider}. Supported providers: :gemini, :openai, :anthropic")
end