Skip to content

[Gemspec] - Allow lower faraday versions #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

itstheraj
Copy link

@itstheraj itstheraj commented May 14, 2025

Description

In reference to issue: #172 - this CR exists to allow for applications requiring different, lower Faraday versions to integrate with this Gem.

Changes Made

  1. Updated the gemspec for Faraday and its dependencies to allow use of lower versions in case of a conflict.
  2. Updated CICD.yml workflow to validate that lower Faraday versions work.
  3. Specs failed on lower Faraday versions so I updated lib/ruby_llm/streaming.rb to allow for legacy Faraday versions to stream responses as well. Could use feedback definitely in case this breaks logic in a way you all are uncomfy with.

Testing

I ran manually rspec with Faraday Version 2.13.1 and 1.10.3, here are the results prior to CI/CD integration in this repo:

Faraday Version Validate Gem Install Test Results
1.10.3 Screenshot 2025-05-14 at 12 52 57 PM Screenshot 2025-05-14 at 12 53 03 PM
2.13.1 Screenshot 2025-05-14 at 12 52 39 PM Screenshot 2025-05-14 at 12 52 46 PM

@itstheraj itstheraj marked this pull request as ready for review May 14, 2025 18:34
@itstheraj itstheraj marked this pull request as draft May 14, 2025 18:35
@itstheraj itstheraj marked this pull request as ready for review May 14, 2025 20:05
@itstheraj itstheraj force-pushed the allow-lower-faraday-versions branch 2 times, most recently from 589cb10 to dfad8ae Compare May 15, 2025 17:00
@itstheraj itstheraj force-pushed the allow-lower-faraday-versions branch from 57485b0 to 63da2c3 Compare May 15, 2025 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant