Module: RubyLLM::RedCandle

Defined in:
lib/ruby_llm-red_candle.rb,
lib/ruby_llm/red_candle/chat.rb,
lib/ruby_llm/red_candle/models.rb,
lib/ruby_llm/red_candle/version.rb,
lib/ruby_llm/red_candle/provider.rb,
lib/ruby_llm/red_candle/streaming.rb,
lib/ruby_llm/red_candle/capabilities.rb,
lib/ruby_llm/red_candle/configuration.rb,
lib/ruby_llm/red_candle/schema_validator.rb

Overview

Red Candle plugin module - provides local LLM execution using quantized GGUF models

Defined Under Namespace

Modules: Capabilities, Chat, Configuration, Models, SchemaValidator, Streaming Classes: Provider

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.register!Object

Register the provider with RubyLLM



19
20
21
22
23
24
25
26
# File 'lib/ruby_llm-red_candle.rb', line 19

def register!
  RubyLLM::Provider.register :red_candle, Provider

  # Register Red Candle models with the global registry
  Provider.models.each do |model|
    RubyLLM.models.instance_variable_get(:@models) << model
  end
end