Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 21, 2025

Bumps ruby_llm from 1.3.1 to 1.6.4.

Release notes

Sourced from ruby_llm's releases.

1.6.4

RubyLLM 1.6.4: Multimodal Tools & Better Schemas 🖼️

Maintenance release bringing multimodal tool responses, improved rake tasks, and important fixes for Gemini schema conversion. Plus better documentation and developer experience!

🖼️ Tools Can Now Return Files and Images

Tools can now return rich content with attachments, not just text! Perfect for screenshot tools, document generators, and visual analyzers:

class ScreenshotTool < RubyLLM::Tool
  description "Takes a screenshot and returns it"
  param :url, desc: "URL to screenshot"
def execute(url:)
screenshot_path = capture_screenshot(url)  # Your screenshot logic
# Return a Content object with text and attachments
RubyLLM::Content.new(
  &quot;Screenshot of #{url} captured successfully&quot;,
  [screenshot_path]  # Can be file path, StringIO, or ActiveStorage blob
)

end
end
The LLM can now see and analyze the screenshot
chat = RubyLLM.chat.with_tool(ScreenshotTool)
response = chat.ask("Take a screenshot of ruby-lang.org and describe what you see")

This opens up powerful workflows:

  • Visual debugging: Screenshot tools that capture and analyze UI states
  • Document generation: Tools that create PDFs and return them for review
  • Data visualization: Generate charts and have the LLM interpret them
  • Multi-step workflows: Chain tools that produce and consume visual content

Works with all providers that support multimodal content.

🔧 Fixed: Gemini Schema Conversion

Gemini's structured output was not preserving all the schema fields and integer schemas were converted to number. Now the conversion logic correctly handles:

# Preserve description
schema = {
  type: 'object',
  description: 'An object',
  properties: {
    example: {
      type: "string",
</tr></table> 

... (truncated)

Commits
  • eca308b Bump version to 1.6.4
  • 8d1e109 Refactor Rake tasks: consolidate model updates, add cassette management for r...
  • 348a1aa Fixed supervisor pattern in agentic workflow doc
  • 08d50f0 Support returning Content objects from Tools
  • 474ee96 Fix Gemini schema conversion
  • d2f0604 Redirect /installation to /getting-started
  • e852857 Bust README badge caches
  • 20bb0c5 Updated appraisal gemfiles
  • 75e0d87 Bump version to 1.6.3
  • 153aad7 Remove unnecessary comments
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 1.3.1 to 1.6.4.
- [Release notes](https://github.com/crmne/ruby_llm/releases)
- [Commits](crmne/ruby_llm@1.3.1...1.6.4)

---
updated-dependencies:
- dependency-name: ruby_llm
  dependency-version: 1.6.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Aug 21, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 11, 2025

Superseded by #46.

@dependabot dependabot bot closed this Sep 11, 2025
@dependabot dependabot bot deleted the dependabot/bundler/ruby_llm-1.6.4 branch September 11, 2025 05:27
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