Method: AiClient::LLM#provider

Defined in:
lib/ai_client/llm.rb

#providerSymbol

Extracts the provider name from the LLM ID.

Returns:

  • (Symbol)

    the provider name.



29
# File 'lib/ai_client/llm.rb', line 29

def provider  = id.split('/')[0].to_sym