Skip to content

Conversation

@dependabot
Copy link

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

Bumps ruby_llm from 1.3.1 to 1.6.0.

Release notes

Sourced from ruby_llm's releases.

1.6.0

RubyLLM 1.6.0: Custom Headers, Tool Control, and Provider Classes 🚀

Unlock provider beta features, build sophisticated agent systems, and enjoy a cleaner architecture. Plus a complete documentation overhaul with dark mode!

✨ Custom HTTP Headers

Access cutting-edge provider features that were previously off-limits:

# Enable Anthropic's beta streaming features
chat = RubyLLM.chat(model: 'claude-3-5-sonnet')
      .with_headers('anthropic-beta' => 'fine-grained-tool-streaming-2025-05-14')
Works with method chaining
response = chat.with_temperature(0.5)
.with_headers('X-Custom-Feature' => 'enabled')
.ask("Stream me some tool calls")

Your headers can't override authentication - provider security always wins. As it should be.

🛑 Tool Halt: Skip LLM Commentary (When Needed)

For rare cases where you need to skip the LLM's helpful summaries, tools can now halt continuation:

class SaveFileTool < RubyLLM::Tool
  description "Save content to a file"
  param :path, desc: "File path"
  param :content, desc: "File content"
def execute(path:, content:)
File.write(path, content)
halt "Saved to #{path}"  # Skip the "I've successfully saved..." commentary
end
end

Note: Sub-agents work perfectly without halt! The LLM's summaries are usually helpful:

class SpecialistAgent < RubyLLM::Tool
  description "Delegate to specialist for complex questions"
  param :question, desc: "The question to ask"
def execute(question:)
expert = RubyLLM.chat(model: 'claude-3-opus')
expert.ask(question).content  # Works great without halt
# The router will summarize the expert's response naturally
</tr></table>

... (truncated)

Commits
  • 1a0ba26 docs: Fix openai_use_system_role documentation and merge sections
  • fea9232 docs: Update version labels to green and fix Rubocop offense
  • 6d15549 chore: Bump version to 1.6.0 and update VCR cassettes
  • 5c8a8a8 test: Add skips for legitimate provider limitations and fix Rubocop offenses
  • 8c59e8e feat: Add streaming error handling for all providers
  • 3e1f2b7 docs: Rewrite configuration guide for clarity and completeness
  • 0076440 docs: Add with_headers documentation to Chat guide
  • 177debc feat: Add with_headers method to Chat for custom HTTP headers
  • d826941 Update documentation for limiting tool calls
  • 107308d Add warning about breaking chat flow when limiting tool calls
  • 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.0.
- [Release notes](https://github.com/crmne/ruby_llm/releases)
- [Commits](crmne/ruby_llm@1.3.1...1.6.0)

---
updated-dependencies:
- dependency-name: ruby_llm
  dependency-version: 1.6.0
  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 11, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 14, 2025

Superseded by #39.

@dependabot dependabot bot closed this Aug 14, 2025
@dependabot dependabot bot deleted the dependabot/bundler/ruby_llm-1.6.0 branch August 14, 2025 05:32
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