RubyLLM 1.13.1: Quick Fixes 🐛🔧
A small patch release with three fixes.
🧩 Fix: Schema + Tool Calls No Longer Crash
Using with_schema and with_tool together caused intermediate tool-call responses to be eagerly JSON-parsed, crashing on the next API call. RubyLLM now only parses the final response content. Fixes #649.
📊 Gemini: Cached Token Usage
Gemini responses now populate cached_tokens for both regular and streaming responses.
🪟 Fix: Binary Attachment Reads on Windows
Path-based attachments now use File.binread instead of File.read, preventing text-mode truncation of binary files on Windows.
Installation
gem "ruby_llm", "1.13.1"Upgrading from 1.13.0
bundle update ruby_llmMerged PRs
New Contributors
Full Changelog: 1.13.0...1.13.1