Class: Esp::Providers::Entry
- Inherits:
-
Struct
- Object
- Struct
- Esp::Providers::Entry
- Defined in:
- lib/esp/providers.rb
Overview
‘auto_default` decides whether default_id can pick this provider when no ESP_PROVIDER override is set — false providers (Ollama) require the user to choose explicitly, so a reachable local runtime never masks an un-keyed cloud provider.
Instance Attribute Summary collapse
-
#auto_default ⇒ Object
Returns the value of attribute auto_default.
-
#default_model ⇒ Object
Returns the value of attribute default_model.
-
#env_key ⇒ Object
Returns the value of attribute env_key.
-
#id ⇒ Object
Returns the value of attribute id.
-
#klass ⇒ Object
Returns the value of attribute klass.
Instance Attribute Details
#auto_default ⇒ Object
Returns the value of attribute auto_default
22 23 24 |
# File 'lib/esp/providers.rb', line 22 def auto_default @auto_default end |
#default_model ⇒ Object
Returns the value of attribute default_model
22 23 24 |
# File 'lib/esp/providers.rb', line 22 def default_model @default_model end |
#env_key ⇒ Object
Returns the value of attribute env_key
22 23 24 |
# File 'lib/esp/providers.rb', line 22 def env_key @env_key end |
#id ⇒ Object
Returns the value of attribute id
22 23 24 |
# File 'lib/esp/providers.rb', line 22 def id @id end |
#klass ⇒ Object
Returns the value of attribute klass
22 23 24 |
# File 'lib/esp/providers.rb', line 22 def klass @klass end |