Class: Cadenya::Models::AIProviderConfigOpenAICompatible::OpenAICompatible
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::AIProviderConfigOpenAICompatible::OpenAICompatible
- Defined in:
- lib/cadenya/models/ai_provider_config_openai_compatible.rb,
sig/cadenya/models/ai_provider_config_openai_compatible.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ OpenAICompatible
constructor
A new instance of OpenAICompatible.
- #to_hash ⇒ { base_url: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ OpenAICompatible
Returns a new instance of OpenAICompatible.
29 |
# File 'sig/cadenya/models/ai_provider_config_openai_compatible.rbs', line 29
def initialize: (base_url: String) -> void
|
Instance Attribute Details
#base_url ⇒ String
34 |
# File 'lib/cadenya/models/ai_provider_config_openai_compatible.rb', line 34 required :base_url, String, api_name: :baseUrl |
Instance Method Details
#to_hash ⇒ { base_url: String }
31 |
# File 'sig/cadenya/models/ai_provider_config_openai_compatible.rbs', line 31
def to_hash: -> { base_url: String }
|