Class: LiterLlm::ProviderConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProviderConfig

Returns a new instance of ProviderConfig.

Parameters:

  • name: (String)
  • display_name: (String)
  • base_url: (String)
  • auth: (AuthConfig)
  • endpoints: (Array[String])
  • model_prefixes: (Array[String])
  • param_mappings: (Hash[String, String])


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

#authAuthConfig (readonly)

Returns the value of attribute auth.

Returns:



729
730
731
# File 'sig/types.rbs', line 729

def auth
  @auth
end

#base_urlString (readonly)

Returns the value of attribute base_url.

Returns:

  • (String)


728
729
730
# File 'sig/types.rbs', line 728

def base_url
  @base_url
end

#display_nameString (readonly)

Returns the value of attribute display_name.

Returns:

  • (String)


727
728
729
# File 'sig/types.rbs', line 727

def display_name
  @display_name
end

#endpointsArray[String] (readonly)

Returns the value of attribute endpoints.

Returns:

  • (Array[String])


730
731
732
# File 'sig/types.rbs', line 730

def endpoints
  @endpoints
end

#model_prefixesArray[String] (readonly)

Returns the value of attribute model_prefixes.

Returns:

  • (Array[String])


731
732
733
# File 'sig/types.rbs', line 731

def model_prefixes
  @model_prefixes
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


726
727
728
# File 'sig/types.rbs', line 726

def name
  @name
end

#param_mappingsHash[String, String] (readonly)

Returns the value of attribute param_mappings.

Returns:

  • (Hash[String, String])


732
733
734
# File 'sig/types.rbs', line 732

def param_mappings
  @param_mappings
end