Closed
Description
I've noticed that some constants don't have their own file. This prevents Zeitwerk from resolving them.
An example would be RubyLLM::Modalities
which is currently in lib/ruby_llm/model_info.rb
.
A minimum reproduction:
require 'ruby_llm'
RubyLLM.chat(model: 'qwen3:0.6b', provider: :ollama)
I believe the fix for this would be to move classes (Modalities
, PricingCollection
, PricingCategory
, and PricingTier
) to their own files.
Metadata
Metadata
Assignees
Labels
No labels