Skip to content

build(deps): Bump ruby_llm from 2.2.0 to 2.2.2 - #390

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/bundler/ruby_llm-2.2.2
Nov 18, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/bundler/ruby_llm-2.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor

Bumps ruby_llm from 2.2.0 to 2.2.2.

Release notes

Sourced from ruby_llm's releases.

RubyLLM 2.2.2 loads the Ruby classes apps keep in app/skills again, keeps model rows your chats still use when a registry refresh runs without a foreign key, and shows each choice's title on the generated question cards.

bundle add ruby_llm --version 2.2.2

Already on 2.2? Run bundle update ruby_llm. No schema or code changes are needed.

Fixed

  • Your own classes in app/skills load again. 2.2 told the Rails autoloader to skip the whole app/skills folder, so an app that keeps its own Ruby classes there got NameError for every one of them after upgrading, whether or not it used RubyLLM skills. Now only skill folders are skipped: any folder holding a SKILL.md, at any depth, including skill folders that are symbolic links. Everything else in app/skills loads as it did in 2.1, and a skill you add while the development server runs is skipped on the next reload, with no restart. By @​crmne; thanks @​sebscholl. (#1671, #1675)
  • A model refresh keeps the models your chats use, with or without a foreign key. Refreshing the model registry deleted ruby_llm_models rows it no longer listed, and only the foreign key from chats stopped it from deleting rows a chat still pointed at. Schemas without that key, such as MySQL setups that skip foreign keys, lost those rows and left chats pointing at nothing. Referenced rows are now kept and marked unlisted, as they are with the foreign key. By @​yshmarov. (#1670)

New

  • Question cards show each choice's title. When a tool's ask or an MCP server gives its choices titles, the generated chat UI showed the raw values, such as 17 and 42, instead of "River bank" and "Money bank". The cards now label each button and option with its title and still submit the value. Your own UI can read the titles with field.choice_titles, which understands oneOf and items.anyOf with const and title, and enumNames. Regenerate the chat UI to pick it up. By @​kryzhovnik. (#1661)

Thanks

Thanks to @​yshmarov and @​kryzhovnik for the fixes in this release, and to @​sebscholl for reporting the app/skills regression.

Full changelog: crmne/ruby_llm@v2.2.1...v2.2.2

RubyLLM 2.2.1 caps how many tool calls one answer may run, keeps a tool that already acted from running twice when another raises, fixes a deadlock Postgres apps could hit while a reply saved, and fixes Gemini batches, judgments, file stores and the generated question cards.

bundle add ruby_llm --version 2.2.1

Already on 2.2? Run bundle update ruby_llm. No schema or code changes are needed.

New

  • Cap the tool calls one answer may run. A model can ask for hundreds of tool calls in a single response. with_tool_options(calls: 50) runs the first 50; the rest get an error telling the model to continue a few calls at a time, so they never run and never ask for approval. Set it on an agent with tool_options rounds: 25, calls: 50, and watch it with the tool_calls_capped.ruby_llm event. It's off by default. By @​crmne. (#1668)

Fixed

  • A tool that already acted doesn't run again when another one raises. When a tool raised during complete on a persisted chat, the finished results of its round were deleted, so the model called a tool that had already sent the email or created the record a second time. Finished calls now keep their results and the rest are closed as unfinished, as when a chat is cancelled. By @​crmne; thanks @​LuisFelipeRisch. (#1660, #1664)
  • No more deadlocks on Postgres when a reply saves. With acts_as_message touch_chat: true, saving an answer wrote the chat row twice in one transaction, so Postgres locked every row the chat points to, such as its account or schedule. App code that locked one of those rows and waited on another could deadlock with a reply. The answer now saves with one write to the chat, and the chat is touched right after, in a transaction of its own, so its after_touch and after_commit callbacks still run. By @​crmne. (#1655)
  • Keep a message sent while another job starts a reply. A message sent with ask_later just as another process claimed the chat could be saved with no reply. It is now queued and answered when that run ends. By @​yorzi. (#1646, #1647)
  • Record what a failed judgment cost. A judgment whose answer couldn't be parsed was recorded with no tokens and no cost, although the provider billed it. The usage it reported is now saved first, on System One, OpenRouter and OpenAI judgments alike, and the parse error still reaches your code. By @​crmne; thanks @​josh-sanders. (#1614, #1658)
  • Approve a tool call without loading the whole chat. approve on a persisted chat used to build the chat and its transcript just to record the decision. It now records it straight on the tool call. By @​costajohnt; thanks @​stephanmoneybird. (#1644, #1645)
  • Read the current version of a file. A folder file store could show the text it had converted from an earlier version of a file with the same size and modification time, and mark the new version as read. Converted text is now tied to the exact bytes it came from. By @​yorzi. (#1648, #1656)
  • Convert a file by the type it was stored with. A file stored with an explicit type and no telling extension, such as captions saved as application/x-subrip, now goes to that type's converter. By @​yorzi. (#1649, #1652)
  • Keep every type of a union in Gemini batches. A schema field such as ["string", "integer", "null"] lost every type after the first, or reached Gemini in a form it rejects, when the chat went through RubyLLM.batch. Batches now send it the way Google's own SDK does. By @​crmne; thanks @​yorzi for the report and the approach. (#1665, #1667)
  • Submit list answers from the generated question cards. A question with a free-form list field, such as tags, lost its answer when submitted from the chat UI. Regenerate the chat UI to pick up the fix. By @​yorzi. (#1650, #1653)

Thanks

Thanks to @​yorzi, @​costajohnt, @​LuisFelipeRisch, @​stephanmoneybird, and @​josh-sanders for the fixes and reports in this release.

... (truncated)

Changelog

Sourced from ruby_llm's changelog.

RubyLLM 2.2.2 loads the Ruby classes apps keep in app/skills again, keeps model rows your chats still use when a registry refresh runs without a foreign key, and shows each choice's title on the generated question cards.

bundle add ruby_llm --version 2.2.2

Already on 2.2? Run bundle update ruby_llm. No schema or code changes are needed.

Fixed

  • Your own classes in app/skills load again. 2.2 told the Rails autoloader to skip the whole app/skills folder, so an app that keeps its own Ruby classes there got NameError for every one of them after upgrading, whether or not it used RubyLLM skills. Now only skill folders are skipped: any folder holding a SKILL.md, at any depth, including skill folders that are symbolic links. Everything else in app/skills loads as it did in 2.1, and a skill you add while the development server runs is skipped on the next reload, with no restart. By @​crmne; thanks @​sebscholl. (#1671, #1675)
  • A model refresh keeps the models your chats use, with or without a foreign key. Refreshing the model registry deleted ruby_llm_models rows it no longer listed, and only the foreign key from chats stopped it from deleting rows a chat still pointed at. Schemas without that key, such as MySQL setups that skip foreign keys, lost those rows and left chats pointing at nothing. Referenced rows are now kept and marked unlisted, as they are with the foreign key. By @​yshmarov. (#1670)

New

  • Question cards show each choice's title. When a tool's ask or an MCP server gives its choices titles, the generated chat UI showed the raw values, such as 17 and 42, instead of "River bank" and "Money bank". The cards now label each button and option with its title and still submit the value. Your own UI can read the titles with field.choice_titles, which understands oneOf and items.anyOf with const and title, and enumNames. Regenerate the chat UI to pick it up. By @​kryzhovnik. (#1661)

Thanks

Thanks to @​yshmarov and @​kryzhovnik for the fixes in this release, and to @​sebscholl for reporting the app/skills regression.

Full changelog: crmne/ruby_llm@v2.2.1...v2.2.2

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruby_llm](https://github.com/crmne/ruby_llm) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/crmne/ruby_llm/releases)
- [Changelog](https://github.com/crmne/ruby_llm/blob/main/release-notes.md)
- [Commits](crmne/ruby_llm@v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: ruby_llm
  dependency-version: 2.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 18, 2026
@github-actions
github-actions Bot merged commit 2e1c1fb into main Nov 18, 2026
1 of 5 checks passed
@dependabot
dependabot Bot deleted the dependabot/bundler/ruby_llm-2.2.2 branch November 18, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants