Skip to content

Could this allow lower Faraday versions in the Gemspec? #172

@itstheraj

Description

@itstheraj

Hi folks,

Currently in the gemspec here:

spec.add_dependency 'faraday', '~> 2'

It seems that Faraday > 2.0 is required. Is this a hard requirement or do you estimate the client still function as expected if versions "~> 1.0" are allowed?

I inquire because there are situations where upgrading this dependency is hard to do, such as applications integrating with slack-ruby-client extensively; applications that require older versions of elasticsearch due to the licensing split there; and quite a few other cases. The gap between Faraday 1 and 2 was large - for applications depending on any ecosystem of the prior it could make it harder to use ruby-llm when it specifies the newer version.

I had raised this same issue in the repository for the ruby client for groq cloud and put up a useful PR that helped. If you all are open to it I am happy to contribute much the same :D

Cheers - thank you for your time!

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