Skip to content

[FEATURE] Bump ruby_llm-schema dependency to ~> 0.3 #616

Description

@thomaswitt

Summary

ruby_llm currently pins ruby_llm-schema to ~> 0.2.1, which prevents users from updating to ruby_llm-schema 0.3.0.

Problem

Running bundle update with both gems in the Gemfile leads to a version conflict:

Because ruby_llm >= 1.9.0 depends on ruby_llm-schema ~> 0.2.1
  and Gemfile depends on ruby_llm ~> 1.11,
  ruby_llm-schema ~> 0.2.1 is required.
So, because Gemfile depends on ruby_llm-schema ~> 0.3,
  version solving has failed.

ruby_llm-schema 0.3.0 adds support for structured outputs with Anthropic (allowing omission of the strict field), which is a useful addition.

Requested Change

Loosen the dependency in ruby_llm.gemspec from ~> 0.2.1 to >= 0.2.1, < 1.0 (or ~> 0.3) to allow users to use the latest ruby_llm-schema.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions