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])


737
# File 'sig/types.rbs', line 737

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:



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

def auth
  @auth
end

#base_urlString (readonly)

Returns the value of attribute base_url.

Returns:

  • (String)


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

def base_url
  @base_url
end

#display_nameString (readonly)

Returns the value of attribute display_name.

Returns:

  • (String)


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

def display_name
  @display_name
end

#endpointsArray[String] (readonly)

Returns the value of attribute endpoints.

Returns:

  • (Array[String])


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

def endpoints
  @endpoints
end

#model_prefixesArray[String] (readonly)

Returns the value of attribute model_prefixes.

Returns:

  • (Array[String])


734
735
736
# File 'sig/types.rbs', line 734

def model_prefixes
  @model_prefixes
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


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

def name
  @name
end

#param_mappingsHash[String, String] (readonly)

Returns the value of attribute param_mappings.

Returns:

  • (Hash[String, String])


735
736
737
# File 'sig/types.rbs', line 735

def param_mappings
  @param_mappings
end