RubyLLM 1.5.1: Model Registry Validation and Fixes 🛠️
A quick patch release introducing schema validation for our model registry and fixing configuration issues.
📋 Model Schema Validation
To prevent future model configuration errors, we've introduced models_schema.json
that validates our model registry. This ensures consistency across all provider model definitions and caught the issues fixed in this release.
🐛 Bug Fixes
Model Capabilities Format
Fixed incorrect capabilities format for Mistral models that was caught by our new schema validation. The capabilities field was incorrectly set as a Hash instead of an Array:
# Before: capabilities: { "chat" => true }
# After: capabilities: ["chat"]
Image Generation Models
Google's Imagen models disappeared from Parsera (our model data source), causing them to lose their proper output modality. We've fixed this by explicitly setting their output modality to image
.
🔧 Infrastructure Updates
- JRuby CI: Updated to JRuby 10.0.1.0 for better compatibility
- Appraisal: Automated generation of Appraisal gemfiles for cleaner multi-Rails version testing
Installation
gem 'ruby_llm', '1.5.1'
This is a patch release with full backward compatibility. If you're using Mistral models or Google's Imagen, this update is recommended.
Full Changelog: 1.5.0...1.5.1