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


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

#authAuthConfig? (readonly)

Returns the value of attribute auth.

Returns:



817
818
819
# File 'sig/types.rbs', line 817

def auth
  @auth
end

#base_urlString? (readonly)

Returns the value of attribute base_url.

Returns:

  • (String, nil)


816
817
818
# File 'sig/types.rbs', line 816

def base_url
  @base_url
end

#display_nameString? (readonly)

Returns the value of attribute display_name.

Returns:

  • (String, nil)


815
816
817
# File 'sig/types.rbs', line 815

def display_name
  @display_name
end

#endpointsArray[String]? (readonly)

Returns the value of attribute endpoints.

Returns:

  • (Array[String], nil)


818
819
820
# File 'sig/types.rbs', line 818

def endpoints
  @endpoints
end

#model_prefixesArray[String]? (readonly)

Returns the value of attribute model_prefixes.

Returns:

  • (Array[String], nil)


819
820
821
# File 'sig/types.rbs', line 819

def model_prefixes
  @model_prefixes
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


814
815
816
# File 'sig/types.rbs', line 814

def name
  @name
end

#param_mappingsHash[String, String]? (readonly)

Returns the value of attribute param_mappings.

Returns:

  • (Hash[String, String], nil)


820
821
822
# File 'sig/types.rbs', line 820

def param_mappings
  @param_mappings
end