Skip to content
Kward Search API index

Class: Kward::ProviderCatalog::Runtime

Inherits:
Struct
  • Object
show all
Defined in:
lib/kward/model/provider_catalog.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#chat_urlObject

Returns the value of attribute chat_url

Returns:

  • (Object)

    the current value of chat_url



24
25
26
# File 'lib/kward/model/provider_catalog.rb', line 24

def chat_url
  @chat_url
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



24
25
26
# File 'lib/kward/model/provider_catalog.rb', line 24

def id
  @id
end

#model_config_keyObject

Returns the value of attribute model_config_key

Returns:

  • (Object)

    the current value of model_config_key



24
25
26
# File 'lib/kward/model/provider_catalog.rb', line 24

def model_config_key
  @model_config_key
end

#model_discoveryObject

Returns the value of attribute model_discovery

Returns:

  • (Object)

    the current value of model_discovery



24
25
26
# File 'lib/kward/model/provider_catalog.rb', line 24

def model_discovery
  @model_discovery
end

#model_list_urlObject

Returns the value of attribute model_list_url

Returns:

  • (Object)

    the current value of model_list_url



24
25
26
# File 'lib/kward/model/provider_catalog.rb', line 24

def model_list_url
  @model_list_url
end

#reasoning_config_keyObject

Returns the value of attribute reasoning_config_key

Returns:

  • (Object)

    the current value of reasoning_config_key



24
25
26
# File 'lib/kward/model/provider_catalog.rb', line 24

def reasoning_config_key
  @reasoning_config_key
end

Instance Method Details

#automatic_model_discovery?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/kward/model/provider_catalog.rb', line 25

def automatic_model_discovery?
  model_discovery == :live
end