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.
822 |
# File 'sig/types.rbs', line 822
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.
817 818 819 |
# File 'sig/types.rbs', line 817 def auth @auth end |
#base_url ⇒ String? (readonly)
Returns the value of attribute base_url.
816 817 818 |
# File 'sig/types.rbs', line 816 def base_url @base_url end |
#display_name ⇒ String? (readonly)
Returns the value of attribute display_name.
815 816 817 |
# File 'sig/types.rbs', line 815 def display_name @display_name end |
#endpoints ⇒ Array[String]? (readonly)
Returns the value of attribute endpoints.
818 819 820 |
# File 'sig/types.rbs', line 818 def endpoints @endpoints end |
#model_prefixes ⇒ Array[String]? (readonly)
Returns the value of attribute model_prefixes.
819 820 821 |
# File 'sig/types.rbs', line 819 def model_prefixes @model_prefixes end |
#name ⇒ String (readonly)
Returns the value of attribute name.
814 815 816 |
# File 'sig/types.rbs', line 814 def name @name end |
#param_mappings ⇒ Hash[String, String]? (readonly)
Returns the value of attribute param_mappings.
820 821 822 |
# File 'sig/types.rbs', line 820 def param_mappings @param_mappings end |