Skip to content

1.8.2

Latest
Compare
Choose a tag to compare
@crmne crmne released this 24 Sep 15:34
· 2 commits to main since this release
99e9594

RubyLLM 1.8.2: Enhanced Tool Calling & Reliability 🔧✨

Minor release improving tool calling visualization in Rails chat UIs, fixing namespaced model support, and enhancing stability.

🔧 Tool Call Visualization

Enhanced chat UI with basic visualization of tool/function calls:

  • Tool call display: Messages now show function calls with name and arguments in JSON format
  • Improved readability: Styled with monospace font and gray background for clear distinction
  • Seamless integration: Tool calls integrate naturally into the conversation flow

🐛 Bug Fixes & Improvements

Chat UI Generator

  • Namespaced model support: Fixed chat UI generator to properly handle namespaced models (fixes #425)
  • Cleaner output: Refined model class injection for better code generation

Network Reliability

  • Faraday adapter: Explicitly set net_http adapter instead of relying on environment defaults (fixes #428)
  • Improved stability: Ensures consistent network behavior across different environments

📚 Documentation & Testing

  • CI optimization: Test suite now runs more efficiently, with coverage reports from latest Ruby/Rails only
  • Generator tests: Optimized to run only on latest Ruby and Rails versions
  • Coverage accuracy: Excluded generator code from coverage metrics for more accurate reporting

Installation

gem 'ruby_llm', '1.8.2'

Upgrading from 1.8.1

bundle update ruby_llm

All changes are backward compatible. To benefit from the tool call visualization, regenerate your chat UI with rails generate ruby_llm:chat_ui.

Merged PRs

New Contributors

Full Changelog: 1.8.1...1.8.2