Class: LiterLlm::ProviderConfig
- Inherits:
-
Object
- Object
- LiterLlm::ProviderConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#auth ⇒ AuthConfig
readonly
Returns the value of attribute auth.
-
#base_url ⇒ String
readonly
Returns the value of attribute base_url.
-
#display_name ⇒ String
readonly
Returns the value of attribute display_name.
-
#endpoints ⇒ Array[String]
readonly
Returns the value of attribute endpoints.
-
#model_prefixes ⇒ Array[String]
readonly
Returns the value of attribute model_prefixes.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#param_mappings ⇒ Hash[String, String]
readonly
Returns the value of attribute param_mappings.
Instance Method Summary collapse
-
#initialize ⇒ ProviderConfig
constructor
A new instance of ProviderConfig.
Constructor Details
#initialize ⇒ ProviderConfig
Returns a new instance of ProviderConfig.
734 |
# File 'sig/types.rbs', line 734
def initialize: (name: String, ?display_name: String, ?base_url: String, ?auth: AuthConfig, ?endpoints: Array[String], ?model_prefixes: Array[String], ?param_mappings: Hash[String, String]) -> void
|
Instance Attribute Details
#auth ⇒ AuthConfig (readonly)
Returns the value of attribute auth.
729 730 731 |
# File 'sig/types.rbs', line 729 def auth @auth end |
#base_url ⇒ String (readonly)
Returns the value of attribute base_url.
728 729 730 |
# File 'sig/types.rbs', line 728 def base_url @base_url end |
#display_name ⇒ String (readonly)
Returns the value of attribute display_name.
727 728 729 |
# File 'sig/types.rbs', line 727 def display_name @display_name end |
#endpoints ⇒ Array[String] (readonly)
Returns the value of attribute endpoints.
730 731 732 |
# File 'sig/types.rbs', line 730 def endpoints @endpoints end |
#model_prefixes ⇒ Array[String] (readonly)
Returns the value of attribute model_prefixes.
731 732 733 |
# File 'sig/types.rbs', line 731 def model_prefixes @model_prefixes end |
#name ⇒ String (readonly)
Returns the value of attribute name.
726 727 728 |
# File 'sig/types.rbs', line 726 def name @name end |
#param_mappings ⇒ Hash[String, String] (readonly)
Returns the value of attribute param_mappings.
732 733 734 |
# File 'sig/types.rbs', line 732 def param_mappings @param_mappings end |