Class: Revox::Models::AssistantListResponse::Assistant::LlmModel::UnionMember1

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/revox/models/assistant_list_response.rb,
sig/revox/models/assistant_list_response.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



692
# File 'sig/revox/models/assistant_list_response.rbs', line 692

def initialize: (

Instance Attribute Details

#openrouter_model_idString

The model ID to use from OpenRouter. eg: openai/gpt-4.1

Parameters:

  • value (String)

Returns:

  • (String)


898
# File 'lib/revox/models/assistant_list_response.rb', line 898

required :openrouter_model_id, String

#openrouter_providerString

The provider to use from OpenRouter. eg: nebius, openai, azure, etc.

Parameters:

  • value (String)

Returns:

  • (String)


904
# File 'lib/revox/models/assistant_list_response.rb', line 904

required :openrouter_provider, String

#typeSymbol, :openrouter

Use a model from OpenRouter.

Parameters:

  • value (:openrouter)

Returns:

  • (Symbol, :openrouter)


910
# File 'lib/revox/models/assistant_list_response.rb', line 910

required :type, const: :openrouter

Instance Method Details

#to_hash{

Returns:

  • ({)


698
# File 'sig/revox/models/assistant_list_response.rbs', line 698

def to_hash: -> {