RubyLLM 1.3.1
Bug fixes and improvements.
Bug Fixes
- Fixed incorrect temperature parameter for OpenAI
gpt-4o-search-preview
andgpt-4o-mini-search-preview
models - Fixed intermittent "text content blocks must be non-empty" error with Anthropic API
- Added missing
inverse_of
tohas_many :messages
association for proper ActiveRecord bi-directional relationships - Fixed
Encoding::CompatibilityError
when processing non-ASCII characters
New Features
- Added support for custom logger configuration
- Updated model registry with latest provider offerings
Improvements
- Enhanced documentation for logging configuration
- Updated test suite with improved Ollama model support
Installation
gem 'ruby_llm', '1.3.1'
Merged PRs
- Fix Encoding::CompatibilityError: Unicode Normalization not appropriate for ASCII-8BIT by @Eric-Guo in #218
- Resolve "text content blocks must be non-empty" issue against Anthropic/Bedrock API by @tpaulshippy in #237
- Add inverse_of to has_many :messages by @niciliketo in #230
- Add support for custom logger via configuration by @tristandunn in #225
New Contributors
- @Eric-Guo made their first contribution in #218
- @niciliketo made their first contribution in #230
- @tristandunn made their first contribution in #225
Full Changelog: 1.3.0...1.3.1