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.
692 |
# File 'sig/types.rbs', line 692
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.
687 688 689 |
# File 'sig/types.rbs', line 687 def auth @auth end |
#base_url ⇒ String? (readonly)
Returns the value of attribute base_url.
686 687 688 |
# File 'sig/types.rbs', line 686 def base_url @base_url end |
#display_name ⇒ String? (readonly)
Returns the value of attribute display_name.
685 686 687 |
# File 'sig/types.rbs', line 685 def display_name @display_name end |
#endpoints ⇒ Array[String]? (readonly)
Returns the value of attribute endpoints.
688 689 690 |
# File 'sig/types.rbs', line 688 def endpoints @endpoints end |
#model_prefixes ⇒ Array[String]? (readonly)
Returns the value of attribute model_prefixes.
689 690 691 |
# File 'sig/types.rbs', line 689 def model_prefixes @model_prefixes end |
#name ⇒ String (readonly)
Returns the value of attribute name.
684 685 686 |
# File 'sig/types.rbs', line 684 def name @name end |
#param_mappings ⇒ Hash[String, String]? (readonly)
Returns the value of attribute param_mappings.
690 691 692 |
# File 'sig/types.rbs', line 690 def param_mappings @param_mappings end |