Module: Cadenya::Models::AIProviderKeySpec::Config

Extended by:
Internal::Type::Union
Defined in:
lib/cadenya/models/ai_provider_key_spec.rb,
sig/cadenya/models/ai_provider_key_spec.rbs

Overview

AIProviderConfig holds non-secret, provider-specific settings. The set case must correspond to AIProviderKeySpec.provider. Providers with no settings (Anthropic, Gemini) simply leave this unset. The endpoint of a named provider is fixed and intentionally not overridable here; use the OpenAI-compatible provider to target a custom endpoint.

See Also:

  • Cadenya::Models::AIProviderKeySpec#config

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.variants::Array[Cadenya::Models::AIProviderKeySpec::config]

Returns:

  • (::Array[Cadenya::Models::AIProviderKeySpec::config])


49
# File 'sig/cadenya/models/ai_provider_key_spec.rbs', line 49

def self?.variants: -> ::Array[Cadenya::Models::AIProviderKeySpec::config]