github crmne/ruby_llm 1.8.2

17 hours ago

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

Don't miss a new ruby_llm release

NewReleases is sending notifications on new releases.