| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 1.14.1 source code.tar.gz | 2026-04-02 | 16.2 MB | |
| 1.14.1 source code.zip | 2026-04-02 | 17.3 MB | |
| README.md | 2026-04-02 | 2.0 kB | |
| Totals: 3 Items | 33.5 MB | 0 | |
RubyLLM 1.14.1: Leaner Providers + ActiveStorage Fix 🔧🐛
A patch release that slims down provider code, fixes an ActiveStorage blob re-upload issue, and refreshes the model registry.
🏗️ Leaner Provider Model Fallbacks
Provider Capabilities modules no longer carry hundreds of lines of hardcoded pricing, context windows, and feature flags. These values now come from the model registry (models.json), and the Ruby fallback code has been trimmed to only the fields that are genuinely needed at the provider level (e.g. supports_tool_choice?). This removes ~400 net lines of code across Anthropic, OpenAI, Gemini, DeepSeek, and Perplexity, and means the registry is the single source of truth for model metadata.
For you, this means more accurate capabilities and pricing going forward.
🐛 Fix: ActiveStorage::Blob Re-upload
When an ActiveStorage::Blob was passed to ask or create_user_message via with:, it was downloaded and re-uploaded as a new blob. Existing blobs are now detected and reused directly, avoiding unnecessary storage churn. Fixes [#665].
📦 Updated Model Registry
The model registry has been refreshed with the latest available models from all providers.
📝 Docs
Fixed a typo in the moderation guide ("Patters" → "Patterns").
Installation
:::ruby
gem "ruby_llm", "1.14.1"
Upgrading from 1.14.0
:::bash
bundle update ruby_llm
Merged PRs
- Fix ActiveStorage::Blob re-upload if used in
with:param by @bubiche in https://github.com/crmne/ruby_llm/pull/683 - Update moderation.md by @artinboghosian in https://github.com/crmne/ruby_llm/pull/703
New Contributors
- @bubiche made their first contribution in https://github.com/crmne/ruby_llm/pull/683
- @artinboghosian made their first contribution in https://github.com/crmne/ruby_llm/pull/703
Full Changelog: https://github.com/crmne/ruby_llm/compare/1.14.0...1.14.1